Simulated.FileSystem 0.5.1

This package provides a transactional view of a file system and an in-memory simulator for that view. This makes it easy to test code that interacts with the file system.

This is not your typical files and directories API. There is a single instance that represents the entire file system. File and directory objects are bound to a file system instance and all the instances related to a single file system share consistent state.

Whole-system savepoints are built in and you can revert to the last savepoint at any time.

Install-Package Simulated.FileSystem -Version 0.5.1
dotnet add package Simulated.FileSystem --version 0.5.1
<PackageReference Include="Simulated.FileSystem" Version="0.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Simulated.FileSystem --version 0.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Everything is performed async, with Tasks exposed to the user. Make sure you await operations.

This release also adds the ability to delete files and directories, still with full transactional gurantees.

API is not yet locked but will be soon. At tht point, I will maintain backwards compatibility from there on. Future experimentation will happen in the Simulated.Experimental namespace. Everything outside of that namespace will be compatible.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.5.1 6,342 1/14/2014
0.3.0 870 4/29/2012
0.2.0 535 4/29/2012