pub fn relative(from_dir: &Path, to: &Path) -> String
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.
to
from_dir