pub fn normalize_path(path: &Path) -> Cow<'_, Path>
Normalize a Path, removing ., .., and trailing slashes.
Path
.
..