Skip to main content

relative_path

Function relative_path 

Source
pub fn relative_path(from: &Path, to: &Path) -> PathBuf
Expand description

The relative path from from to to (both normalized), matching Node’s path.relative.