Codebelt
v10.7.0

Cuemon.Extensions.FileProviders.Physical

Resolve physical file paths with portable normalization, successful-lookup caching, and collision detection.

.NET 10.0 / .NET 9.0 / .NET Standard 2.0 MIT 664 downloads

Overview

Cuemon.Extensions.FileProviders.Physical adds a portable physical file provider for applications that need rooted file and directory lookup through the Microsoft.Extensions.FileProviders.IFileProvider contract. Its PortablePhysicalFileProvider implementation provides case-insensitive path resolution for physical file-system roots.

The package is designed for consistent path handling across its supported target frameworks. It normalizes paths intelligently, caches successful lookups, and detects path collisions.

Key APIs

PortablePhysicalFileProvider is a sealed IFileProvider implementation derived from Cuemon's Disposable base. Use it when a physical file provider must resolve file and directory paths portably and case-insensitively while retaining collision detection and successful-lookup caching.

Installation

dotnet add package Cuemon.Extensions.FileProviders.Physical

Usage guidance

Choose this package when an application needs physical file-system access through the standard IFileProvider abstraction and must keep path resolution consistent across supported target frameworks. It is a focused package for the physical-provider boundary; use the broader Cuemon packages only when the application also needs their separate capabilities.

Family packages