normalize

Function normalize 

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

Normalizes a given path by removing redundant components. The given path must be absolute (e.g. by joining it with the current working directory).