Ramstack.FileSystem.Physical
1.6.3
dotnet add package Ramstack.FileSystem.Physical --version 1.6.3
NuGet\Install-Package Ramstack.FileSystem.Physical -Version 1.6.3
<PackageReference Include="Ramstack.FileSystem.Physical" Version="1.6.3" />
<PackageVersion Include="Ramstack.FileSystem.Physical" Version="1.6.3" />
<PackageReference Include="Ramstack.FileSystem.Physical" />
paket add Ramstack.FileSystem.Physical --version 1.6.3
#r "nuget: Ramstack.FileSystem.Physical, 1.6.3"
#:package Ramstack.FileSystem.Physical@1.6.3
#addin nuget:?package=Ramstack.FileSystem.Physical&version=1.6.3
#tool nuget:?package=Ramstack.FileSystem.Physical&version=1.6.3
Ramstack.FileSystem.Physical
Provides an implementation of Ramstack.FileSystem based on local file system.
Getting Started
To install the Ramstack.FileSystem.Physical NuGet package
in your project, run the following command:
dotnet add package Ramstack.FileSystem.Physical
Usage
using Ramstack.FileSystem.Physical;
PhysicalFileSystem fs = new PhysicalFileSystem(@"C:\path\to\directory");
await foreach (VirtualFile file in fs.GetFilesAsync("/"))
{
Console.WriteLine(node.Name);
}
You can also configure the file system to be read-only:
using Ramstack.FileSystem.Physical;
PhysicalFileSystem fs = new PhysicalFileSystem(@"C:\path\to\directory")
{
IsReadOnly = true
};
Related Projects
- Ramstack.FileSystem.Abstractions - Provides a virtual file system abstraction.
- Ramstack.FileSystem.Azure - Provides an implementation using Azure Blob storage.
- Ramstack.FileSystem.Amazon - Provides an implementation using Amazon S3 storage.
- Ramstack.FileSystem.Google - Provides an implementation using Google Cloud storage.
- Ramstack.FileSystem.Readonly - Provides a read-only wrapper for the underlying file system.
- Ramstack.FileSystem.Globbing - Wraps the file system, filtering files and directories using glob patterns.
- Ramstack.FileSystem.Prefixed - Adds a prefix to file paths within the underlying file system.
- Ramstack.FileSystem.Sub - Wraps the underlying file system, restricting access to a specific subpath.
- Ramstack.FileSystem.Adapters - Provides integration with
Microsoft.Extensions.FileProviders. - Ramstack.FileSystem.Composite - Provides an implementation that combines multiple file systems into a single composite file system.
Supported versions
Contributions
Bug reports and contributions are welcome.
License
This package is released as open source under the MIT License. See the LICENSE file for more details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- Ramstack.FileSystem.Abstractions (>= 1.6.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Ramstack.FileSystem.Physical:
| Package | Downloads |
|---|---|
|
Ramstack.FileSystem.Specification.Tests
Suite of NUnit tests to check specifications for Ramstack.FileSystem. |
GitHub repositories
This package is not used by any popular GitHub repositories.
