relative_path

Function relative_path 

Source
pub fn relative_path<P1: AsRef<Path>, P2: AsRef<Path>>(
    base: P1,
    target: P2,
) -> Result<PathBuf>
Expand description

Get relative path from base to target