pub fn resolve_under_root(root: &Path, path: &Path) -> Result<PathBuf, String>Expand description
Resolve path so the result is inside root.
Relative paths are joined to root. Absolute paths are accepted only when
they (after normalization and symlink resolution) stay under root.