pub fn safe_join(base: &Path, relative: &Path) -> Result<PathBuf, Error>Expand description
Joins a relative path to a base after validating the path.
ยงErrors
Returns an error if relative is absolute, contains parent components, or
would resolve outside base.