pub fn normalize<P: AsRef<Path>>(path: P) -> PathBuf
Normalize path by resolving . and .. components lexically (without touching the file system). Absolute paths that walk above the root are clamped at the root.
path
.
..