Skip to main content

rel_path_from_workspace

Function rel_path_from_workspace 

Source
pub fn rel_path_from_workspace(workspace: &Path, file: &Path) -> PathBuf
Expand description

Make a path relative to workspace, falling back to the path itself.