Skip to main content

relative

Function relative 

Source
pub fn relative(from_dir: &Path, to: &Path) -> String
Expand description

The relative path string that reaches to from from_dir (both normalized, same coordinate system). Rendered with forward slashes — link targets are text, not platform paths.