clean_path

Function clean_path 

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

Return a clean up path without unnecessary . and .. directories in it.

This will not look at the file system, so symlinks will not get resolved.