Skip to main content

same_file

Function same_file 

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

Check whether two paths refer to the same file on disk. Returns false if either path doesn’t exist or can’t be canonicalized.