Function normalize_lexically

Source
fn normalize_lexically(path: &Path) -> Option<PathBuf>
Expand description

Normalizes a path lexically by resolving .. and . components. Returns Some(PathBuf) containing an absolute path starting with /, or None if the path is invalid (e.g., attempts to traverse above the root).