Skip to main content

relpath

Function relpath 

Source
pub fn relpath(path: &Path, start: &Path) -> PathBuf
Expand description

os.path.relpath(path, start) for two absolute paths: . when equal, .. segments when path is not under start.