Novolis.Snapshots.FileSystem
2026.1.2.44
dotnet add package Novolis.Snapshots.FileSystem --version 2026.1.2.44
NuGet\Install-Package Novolis.Snapshots.FileSystem -Version 2026.1.2.44
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="Novolis.Snapshots.FileSystem" Version="2026.1.2.44" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novolis.Snapshots.FileSystem" Version="2026.1.2.44" />
<PackageReference Include="Novolis.Snapshots.FileSystem" />
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 Novolis.Snapshots.FileSystem --version 2026.1.2.44
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Novolis.Snapshots.FileSystem, 2026.1.2.44"
#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 Novolis.Snapshots.FileSystem@2026.1.2.44
#: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=Novolis.Snapshots.FileSystem&version=2026.1.2.44
#tool nuget:?package=Novolis.Snapshots.FileSystem&version=2026.1.2.44
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Novolis.Snapshots.FileSystem
File-system ISnapshotStore that writes serialized state blobs under a root directory ({hash-prefix}/{guid}.dat) and returns a FileSnapshotRef with a SHA-256 content id.
Install
dotnet add package Novolis.Snapshots.FileSystem
Depends on System.IO.Abstractions and Novolis.Snapshots.Abstractions.
Quick start
using System.IO.Abstractions;
using Novolis.Snapshots;
using Novolis.Snapshots.FileSystem;
using Novolis.Snapshots.Json;
var fs = new FileSystem();
var root = fs.DirectoryInfo.New(@"C:\snapshots");
var serializer = new JsonStateSerializer<MyState>();
var store = new FileSnapshotStore<MyState>(fs, root, serializer);
var snapshot = await store.SaveAsync(state, new SnapshotRequest(null, SnapshotKinds.Autosave));
await store.RestoreAsync(state, snapshot);
API
| Type | Role |
|---|---|
FileSnapshotStore<TState> |
ISnapshotStore<TState, FileSnapshotRef> |
Constructor: (IFileSystem fileSystem, IDirectoryInfo root, IStateSerializer<TState> serializer). Creates the root directory if missing.
Related
| Package | Role |
|---|---|
Novolis.Snapshots.Abstractions |
FileSnapshotRef, store contract |
Novolis.Snapshots.Json |
Typical serializer pairing |
Novolis.Snapshots.Zip |
Zip archive alternative with manifest |
Novolis.Snapshots.Memory |
Non-durable test backend |
Novolis.Timeline.FileSystem |
Timeline nodes referencing snapshot refs |
| Product | Versions 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
- Novolis.Snapshots.Abstractions (>= 2026.1.2.44)
- System.IO.Abstractions (>= 22.3.0)
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 |
|---|---|---|
| 2026.1.2.44 | 87 | 10/18/2026 |
| 2026.1.2.42 | 94 | 10/18/2026 |
| 2026.1.2.41 | 98 | 10/5/2026 |
| 2026.1.2.40 | 99 | 10/4/2026 |
| 2026.1.2.38 | 102 | 10/2/2026 |
| 2026.1.2.37 | 96 | 10/1/2026 |
| 2026.1.2.36 | 100 | 10/1/2026 |
| 2026.1.2.35 | 99 | 9/30/2026 |