resolve_under_root

Function resolve_under_root 

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

Resolve rel under root, ensuring the result stays within the root after symlink resolution.