SAMEPATH is path the same

true if inputs resolve to same path. Both paths must exist.

NOTE: in general on Windows same('.', 'not-exist/..') is true, but on Unix it is false. In C/C++ access() or stat() the same behavior is observed Windows vs Unix.

Ref: https://devblogs.microsoft.com/oldnewthing/20220128-00/?p=106201

Contents

inputs

Outputs