Skip to main content

relative_below

Function relative_below 

Source
pub fn relative_below(root: &Path, path: &Path) -> Result<PathBuf, String>
Expand description

path as plain components below root: lexically first (so a symlinked component stays visible and is refused), then against the canonical root for a caller that already resolved it.