Lyo.FileSystemWatcher.Models
2.0.0
dotnet add package Lyo.FileSystemWatcher.Models --version 2.0.0
NuGet\Install-Package Lyo.FileSystemWatcher.Models -Version 2.0.0
<PackageReference Include="Lyo.FileSystemWatcher.Models" Version="2.0.0" />
<PackageVersion Include="Lyo.FileSystemWatcher.Models" Version="2.0.0" />
<PackageReference Include="Lyo.FileSystemWatcher.Models" />
paket add Lyo.FileSystemWatcher.Models --version 2.0.0
#r "nuget: Lyo.FileSystemWatcher.Models, 2.0.0"
#:package Lyo.FileSystemWatcher.Models@2.0.0
#addin nuget:?package=Lyo.FileSystemWatcher.Models&version=2.0.0
#tool nuget:?package=Lyo.FileSystemWatcher.Models&version=2.0.0
Lyo.FileSystemWatcher.Models
Serializable contracts for Lyo.FileSystemWatcher snapshots and change events. Use these types to store or send trees without live FileSystemInfo. FileSystemSnapshotDiffer.DetectChanges diffs two DTO trees using path, size, fingerprint, and hash.
Features
- No live file handles. Snapshot entries copy size, timestamps, attributes, hash, and fingerprint.
- Relative paths. Entry paths are relative to the watch root and use '/' separators.
- DTO diffs. FileSystemSnapshotDiffer detects create, delete, change, rename, and move without the files on disk.
- Regex include/exclude. FileSystemPathGlob matches .NET regular expressions against relative paths.
Examples
Diff two stored trees
var changes = FileSystemSnapshotDiffer.DetectChanges(oldTree, newTree);
foreach (var change in changes)
Console.WriteLine($"{change.ChangeType} {change.OldPath} -> {change.NewPath}");
Types
- FileSystemSnapshotTreeDto. Hierarchical snapshot (root, counts, nested directories and files).
- FileSystemSnapshotEntryDto. One file or directory (relative path, size, timestamps, hash, fingerprint).
- FileSystemChangeDto. One create/delete/change/rename/move, with OccurredAtUtc.
- FileSystemWatchOptionsDto. Serializable include/exclude regexes, recursion, hashing, debounce.
- FileSystemSnapshotDiffer.DetectChanges. DTO-native change detection.
- FileSystemPathGlob. Include/exclude .NET regex matching for relative paths.
Dependencies
Generated from ProjectReference / PackageReference (same model as docs/Lyo.ProjectGraph.html).
Lyo.Exceptions(direct, lyo)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Lyo.Exceptions (>= 2.0.0)
-
net10.0
- Lyo.Exceptions (>= 2.0.0)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Lyo.FileSystemWatcher.Models:
| Package | Downloads |
|---|---|
|
Lyo.FileSystemWatcher
File system watcher service for monitoring file system changes with metrics support. |
|
|
Lyo.Drift.Models
DTOs, enums, and route constants for the Lyo Drift collector API. |
|
|
Lyo.Drift.Postgres
PostgreSQL persistence for the Lyo Drift collector. |
|
|
Lyo.Drift.Web.Components
Blazor workbench for viewing and operating Lyo Drift collector instances, snapshots, diffs, and live changes. |
|
|
Lyo.FileSystemWatcher.Postgres
PostgreSQL store for FileSystemWatcher snapshots and change events. Service layer only — no HTTP. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 82 | 9/9/2026 |