Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 3.06 KB

File metadata and controls

56 lines (43 loc) · 3.06 KB

Ramstack.FileSystem.Composite

NuGet MIT

Provides an implementation of Ramstack.FileSystem that combines multiple file systems into a single composite file system.

Getting Started

To install the Ramstack.FileSystem.Composite NuGet package in your project, run the following command:

dotnet add package Ramstack.FileSystem.Composite

Usage

using Ramstack.FileSystem.Composite;

CompositeFileSystem fs = new CompositeFileSystem(
    new PhysicalFileSystem(@"C:\dir-1"),
    new PhysicalFileSystem(@"C:\dir-2"),
    new PhysicalFileSystem(@"C:\dir-3"));

await foreach (VirtualFile file in fs.GetFilesAsync("/"))
{
    Console.WriteLine(node.Name);
}

Related Projects

Supported versions

Version
.NET 6, 7, 8, 9, 10

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.