Skip to main content

normalize

Function normalize 

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

Normalize a path by resolving . and .. components without touching the filesystem (no symlink resolution).

This is intentionally not canonicalize() — we avoid filesystem access and symlink resolution for performance and determinism.