Function normalize

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

Normalizes path, dereferencing relative references . and .. and converting path separators to current platform separators. (detects platform natively or via NodeJS if operating in WASM32 environment). Uses ToPlatform to perform path conversion.