Ramstack.FileSystem.Composite
1.0.0-preview.8
This is a prerelease version of Ramstack.FileSystem.Composite.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Ramstack.FileSystem.Composite --version 1.0.0-preview.8
NuGet\Install-Package Ramstack.FileSystem.Composite -Version 1.0.0-preview.8
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ramstack.FileSystem.Composite" Version="1.0.0-preview.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ramstack.FileSystem.Composite --version 1.0.0-preview.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ramstack.FileSystem.Composite, 1.0.0-preview.8"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Ramstack.FileSystem.Composite as a Cake Addin #addin nuget:?package=Ramstack.FileSystem.Composite&version=1.0.0-preview.8&prerelease // Install Ramstack.FileSystem.Composite as a Cake Tool #tool nuget:?package=Ramstack.FileSystem.Composite&version=1.0.0-preview.8&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
- Ramstack.FileSystem.Abstractions - Provides a virtual file system abstraction.
- Ramstack.FileSystem.Physical - Provides an implementation based on the local file system.
- Ramstack.FileSystem.Azure - Provides an implementation using Azure Blob storage.
- Ramstack.FileSystem.Amazon - Provides an implementation using Amazon S3 storage.
- Ramstack.FileSystem.Zip - Provides an implementation based on ZIP archives.
- 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
.
Supported versions
Version | |
---|---|
.NET | 6, 7, 8 |
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Ramstack.FileSystem.Abstractions (>= 1.0.0-preview.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.1 | 140 | 9/14/2024 |
1.1.0 | 106 | 9/14/2024 |
1.0.1 | 112 | 9/13/2024 |
1.0.0 | 110 | 9/13/2024 |
1.0.0-preview.9 | 57 | 9/10/2024 |
1.0.0-preview.8 | 55 | 9/5/2024 |
1.0.0-preview.7 | 55 | 9/4/2024 |
1.0.0-preview.6 | 58 | 9/3/2024 |
1.0.0-preview.5 | 63 | 8/30/2024 |
1.0.0-preview.4 | 72 | 8/24/2024 |