Function relative_under

Source
pub fn relative_under(path: &str, folder: &str) -> Option<String>
Expand description

A portable relative path under a catalog folder, or None outside it.

Only the relative output uses /: native absolute paths must retain their Windows verbatim spelling when passed to the filesystem or external tools.