pub fn same_file(a: impl AsRef<Path>, b: impl AsRef<Path>) -> bool
Whether a and b name the same existing file (both canonicalized, so links and spellings agree); false when either does not exist.
a
b
canonicalize