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