Skip to main content

confine

Function confine 

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

path as it is now (links and junctions resolved), if it lies inside root.