Skip to main content

guest_normalize

Function guest_normalize 

Source
pub fn guest_normalize(
    cwd: &str,
    guest_path: &str,
) -> Result<String, ResolveError>
Expand description

The guest-visible absolute form of a path, with . and .. collapsed.

Guest space, not host space — this is what a diagnostic or a directory entry shows the program, and it is the only path-shaped string that leaves this module.