pub fn normalize_lexical(path: &Path) -> PathBuf
Resolve . and .. components lexically — never touches the filesystem. Sufficient for “stays inside <root>” reasoning where the path may not yet exist.
.
..
<root>