fn is_same_file(p1: impl AsRef<Path>, p2: impl AsRef<Path>) -> bool
Expand description
Checks whether two paths, pointing at a file, refer to the same file. This might be slower than some platform-dependent alternatives, but should be guaranteed to work on all platforms