Skip to main content

normalize

Function normalize 

Source
pub fn normalize<P: AsRef<Path>>(path: P) -> PathBuf
Expand description

Normalize path by resolving . and .. components lexically (without touching the file system). Absolute paths that walk above the root are clamped at the root.