Skip to main content

resolve_under_root

Function resolve_under_root 

Source
pub fn resolve_under_root(root: &Path, relative: &str) -> Result<PathBuf>
Expand description

Resolve relative under root, rejecting .. and paths that escape root.