pub fn normalize_path(path: &Path, root: &Path) -> PathBufExpand description
Normalize a path by resolving . and .. components lexically.
If the path is relative, it is first made absolute against the given root.
This is purely lexical — no filesystem access, no symlink resolution.