Skip to main content

normalize

Function normalize 

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

Normalize a path by removing . components and resolving .. components. Unlike canonicalize(), this doesn’t require the path to exist on disk.