Function normalize_path

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

Normalize a path using only the components of the path.

This will ignore any symbolic links, and strip the verbatim \\?\ prefixes, so should only be used when that can be tolerated.