Skip to main content

normalize

Function normalize 

Source
pub fn normalize(path: &Path) -> PathBuf
Expand description

Lexically normalizes a path: drops . and resolves .. against earlier components without touching the file system. .. above a root is dropped.