Masasamjant.FileSystems 2.1.0

dotnet add package Masasamjant.FileSystems --version 2.1.0
                    
NuGet\Install-Package Masasamjant.FileSystems -Version 2.1.0
                    
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="Masasamjant.FileSystems" Version="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Masasamjant.FileSystems" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Masasamjant.FileSystems" />
                    
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 Masasamjant.FileSystems --version 2.1.0
                    
#r "nuget: Masasamjant.FileSystems, 2.1.0"
                    
#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 Masasamjant.FileSystems@2.1.0
                    
#: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=Masasamjant.FileSystems&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Masasamjant.FileSystems&version=2.1.0
                    
Install as a Cake Tool

Masasamjant File Systems

Class library to abstract file systems. This class library separates file system to several interfaces that can be used instead of concrete file system:

IFileSystem is the main interface that represents file system that provides drive, directory and file operations repsesented by interfaces: IDriveOperations, IDirectoryOperations and IFileOperations.

Each operations interface has own information interface that represents different file system item:

IDriveInfo represents information of drive.

IDirectoryInfo represents information of directory.

IFileInfo represents information of file.

The library contains implementation of these for .NET classes like DriveInfo, DirectoryInfo and FileInfo.

The github repository https://github.com/masasamjant/FileSystems also has backups class library that provides example of how this library is used.

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.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Masasamjant.FileSystems:

Package Downloads
Masasamjant.FileSystems.Backups

Class library to to create file or directory backups

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.0 131 2/12/2026
2.0.0 317 11/13/2025
1.1.1 233 9/22/2025
1.1.0 229 9/4/2025
1.0.0 197 3/16/2025