Skip to main content

Module Canonicalize

Module Canonicalize 

Source
Expand description

Canonicalise via the cache. Returns the cached entry on hit; runs dunce::canonicalize on miss and caches the result.

dunce::canonicalize is preferred over std::fs::canonicalize because it avoids the \\?\ UNC prefix on Windows; the underlying syscall on macOS/Linux is identical (realpath(3)).

Functionsยง

Fn