Skip to main content

normalize_lexical

Function normalize_lexical 

Source
pub fn normalize_lexical(path: &Path) -> PathBuf
Expand description

Resolve . and .. components lexically — never touches the filesystem. Sufficient for “stays inside <root>” reasoning where the path may not yet exist.