Skip to main content

relative

Function relative 

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

Node’s path.relative for absolute, lexically resolved paths: the steps from from to to, "" when they are the same.