pub fn relative_path(from: &Path, to: &Path) -> PathBuf
The relative path from from to to (both normalized), matching Node’s path.relative.
from
to
path.relative