Skip to main content

resolve_lexical_path

Function resolve_lexical_path 

Source
pub fn resolve_lexical_path(
    base: &Path,
    declaration: &Path,
) -> Result<PathBuf, PathResolutionError>
Expand description

Resolves a relative-or-absolute declaration against base lexically.

The declaration is validated before joining, and the result removes only current-directory components. It does not access the filesystem, resolve symlinks, or canonicalize the result.