Kiyote.Files 0.4.3

dotnet add package Kiyote.Files --version 0.4.3
                    
NuGet\Install-Package Kiyote.Files -Version 0.4.3
                    
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="Kiyote.Files" Version="0.4.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kiyote.Files" Version="0.4.3" />
                    
Directory.Packages.props
<PackageReference Include="Kiyote.Files" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Kiyote.Files --version 0.4.3
                    
#r "nuget: Kiyote.Files, 0.4.3"
                    
#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.
#:package Kiyote.Files@0.4.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Kiyote.Files&version=0.4.3
                    
Install as a Cake Addin
#tool nuget:?package=Kiyote.Files&version=0.4.3
                    
Install as a Cake Tool

Kiyote.Files

Provides a file system abstraction layer for various back-ends. These file systems can either be Read/Write or Read-Only. The method by which the files are placed, retrieved or enumerated is abstracted from the consumer to ensure a broader compatibility between backends.

Getting Started

Each registered file system must have its own distinct identifier. This allows implementations to correctly store and retrieve from the appropriate location invisibly to the user. They are just aware there is an opaque IFileSystemIdentifier for their file.

Create a file system identifier for your repository:

public abstract class FS {
  public sealed class Test : IFileSystemIdentifier {

    public const string TestFileSystemId = "Test";

    FileSystemId IFileSystemIdentifier.FileSystemId => TestFileSystemId;
  }
}

Register the file system:

  services.AddReadWriteDisk<FS.Test>( @"c:\temp" );

Inject the file system in to a class to consume it:

   public sealed class Foo( IFileSystem<FS.Temp> tempFileSystem ) {
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Kiyote.Files:

Package Downloads
Kiyote.Files.Disk

Package Description

Kiyote.Files.Resource

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.4.3 104 8/13/2026
0.4.2 106 8/11/2026
0.4.1 128 4/14/2026
0.4.0 135 2/8/2026
0.3.0 293 12/15/2025
0.2.0 218 10/7/2025
0.1.4 206 10/25/2024
0.1.3 177 10/23/2024
0.1.2 209 6/3/2024
0.1.1 167 6/3/2024
0.1.0 173 6/3/2024