pub fn normalize_path(path: &Path) -> PathBuf
Normalize a path by collapsing . and .. components without touching the filesystem.
.
..
Unlike canonicalize(), this works on paths that don’t exist yet.
canonicalize()