Function relative_path

Source
pub fn relative_path<P: AsRef<Path>, T: AsRef<Path>>(
    root: P,
    target: T,
) -> PathBuf
Expand description

Returns the relative path from root to target.