pub fn normalise_path<P: AsRef<Path>>(path: P) -> PathBuf
Normalises a Path by removing all ./ and resolving all ../ simplistically. This function does not follow symlinks and may result in unexpected behaviour.
./
../