Skip to main content

normalize_lexically

Function normalize_lexically 

Source
pub fn normalize_lexically(p: &Path) -> PathBuf
Expand description

p with . dropped and each .. taking off the component before it, without touching the filesystem, so it does not know a .. after a symlink climbs out of the link’s target (resolve_physically does).