Skip to main content

resolve_under

Function resolve_under 

Source
pub fn resolve_under(root: &Path, raw: &str) -> Result<PathBuf, RootEscapeError>
Expand description

Resolve raw (interpreted as relative-to-root unless absolute) and assert the result stays under root after lexical normalization. Returns the normalized absolute path on success.