Skip to main content

collapse

Function collapse 

Source
fn collapse(path: &Path) -> Option<PathBuf>
Expand description

path with . and .. taken out, without touching the disk; None when a .. would leave its root.