Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 2.78 KB

File metadata and controls

54 lines (41 loc) · 2.78 KB

Ramstack.FileSystem.Composite

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

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.