Skip to main content

normalize_path_buf

Function normalize_path_buf 

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

Lexically normalize a path, returning a PathBuf.

See normalize_path for the security caveats: this is a lexical helper that clamps only at the filesystem root and does not follow symlinks.