Skip to main content

same_file

Function same_file 

Source
pub fn same_file(a: impl AsRef<Path>, b: impl AsRef<Path>) -> bool
Expand description

Whether a and b name the same existing file (both canonicalized, so links and spellings agree); false when either does not exist.