Skip to main content

same_dir

Function same_dir 

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

Whether two paths are the same folder, however they’re written: a registered path may go through a symlink (/var is /private/var on macOS) or be typed by hand, and still name the folder opened.