Skip to main content

relative

Function relative 

Source
pub fn relative(pathname: &str, base: &str) -> String
Expand description

Make a pathname relative to a base directory. Port of Perl’s pathname_relative($pathname, $base).