Skip to main content

DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/Cache/PathCanon/
CanonicalizeUncached.rs

1//! Canonicalise without caching. For one-shot calls where the result is
2//! immediately discarded - avoids polluting the cache with paths that won't be
3//! repeated.
4
5use std::path::{Path, PathBuf};
6
7pub fn Fn(Path:&Path) -> std::io::Result<PathBuf> { dunce::canonicalize(Path) }