Skip to main content

resolve_path

Function resolve_path 

Source
pub fn resolve_path(
    cwd: &VirtualPath,
    argument: &str,
) -> Result<VirtualPath, OsError>
Expand description

Resolves a path argument against a working directory, accepting Windows path syntax: backslashes, drive prefixes (C:\Users\Rey), forward slashes, and trailing separators are all normalized to the engine’s slash form.