Skip to main content

same_filesystem

Function same_filesystem 

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

Whether two paths live on the same filesystem (device id compare on Unix). On Windows we compare the volume prefix as a best-effort heuristic.