pub(crate) fn confine(root: &Path, path: &str) -> Result<PathBuf, String>
path as it is now (links and junctions resolved), if it lies inside root.
path
root