Skip to main content

canonical_child

Function canonical_child 

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

Resolves relative inside root, rejecting paths that escape it or aren’t files.