pub fn normalize_path(path: &Path) -> PathBufExpand description
Normalize a path by resolving . and .. components without requiring
the file to exist on disk (unlike std::fs::canonicalize).
Guards against excessive .. that would pop past the root by only
popping Normal components (never RootDir or Prefix).