normalise_path

Function normalise_path 

Source
pub fn normalise_path<P: AsRef<Path>>(path: P) -> PathBuf
Expand description

Normalises a Path by removing all ./ and resolving all ../ simplistically. This function does not follow symlinks and may result in unexpected behaviour.