Skip to main content

relative_of

Function relative_of 

Source
pub fn relative_of(root: &Path, abs: &Path) -> Option<String>
Expand description

Repo-relative path of a file under root, or None if it escapes.