pub fn resolve_against(
base: impl AsRef<Path>,
input: impl AsRef<Path>,
) -> Result<PathBuf, PathError>Expand description
Resolve input against base.
- If
inputis absolute, it is normalized and returned (base is ignored). - If
inputis relative, it is joined tobaseand normalized.
ยงFilesystem access
No (unless base itself requires later I/O by the caller).
Does not follow symlinks. Does not require existence.