Skip to main content

Mountain/Cache/PathCanon/
CanonicalizeUncached.rs

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