relative_path_normalize

Function relative_path_normalize 

Source
pub fn relative_path_normalize(path: impl AsRef<Path>) -> PathBuf
Expand description

Normalizes the given relative path.

This will clean the path, removing any redundant components, and ensure that it has a leading “current dir” (./) component.