pub fn clean_path(path: &Path) -> PathBuf
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.