Function relativize_path

Source
pub fn relativize_path(
    abs_path: impl AsRef<Path>,
    abs_relative_to: impl AsRef<Path>,
) -> PathBuf
Expand description

Transforms abs_path to be relative to abs_relative_to.