Skip to main content

Module path

Module path 

Source
Expand description

Cross-crate path normalization helpers.

Functions§

normalize_lexical
Collapse . and resolvable .. components without touching the filesystem.
strip_verbatim_prefix
Strip a Windows \\?\ verbatim drive prefix from path so callers that interpolate it into a path-concatenating template (%~dp0\{rel} in the bin-shim generator, starts_with ownership checks in scan_packages / remove_package, CreateDirectoryW calls in the linker) all see the plain C:\… form.