pub fn normalized_path(path: &Path) -> PathBufExpand description
What:
Normalize a path lexically, the way Node’s path.join and path.resolve do.
Why:
Recorded paths must match the incumbent’s spelling byte for byte,
and PathBuf::join keeps . and ...
In TS you’d write (pseudocode):
path.resolve(path);