Lyo.FileSystemWatcher.Postgres
3.0.0
dotnet add package Lyo.FileSystemWatcher.Postgres --version 3.0.0
NuGet\Install-Package Lyo.FileSystemWatcher.Postgres -Version 3.0.0
<PackageReference Include="Lyo.FileSystemWatcher.Postgres" Version="3.0.0" />
<PackageVersion Include="Lyo.FileSystemWatcher.Postgres" Version="3.0.0" />
<PackageReference Include="Lyo.FileSystemWatcher.Postgres" />
paket add Lyo.FileSystemWatcher.Postgres --version 3.0.0
#r "nuget: Lyo.FileSystemWatcher.Postgres, 3.0.0"
#:package Lyo.FileSystemWatcher.Postgres@3.0.0
#addin nuget:?package=Lyo.FileSystemWatcher.Postgres&version=3.0.0
#tool nuget:?package=Lyo.FileSystemWatcher.Postgres&version=3.0.0
Lyo.FileSystemWatcher.Postgres
EF Core persistence for Lyo.FileSystemWatcher models. Schema filesystem_watcher holds watch, snapshot (tree jsonb + content_hash + content_hash_algorithm), and change rows.
Hashes use Lyo.Hashing (SHA-256 by default). FileSystemWatcherPersister copies DTOs on ScanCompleted and writes them off the debounce thread. Register with
AddPostgresFileSystemWatcherStore / FromConfiguration.
Features
- Store only. No Lyo.Api reference. Drift HTTP lives in Lyo.Drift.Postgres.
- Named hash. Dedupe compares content_hash_algorithm and content_hash together.
- Persister. Maps ScanCompleted on the timer thread, writes through IFileSystemWatcherStore on a background channel.
Examples
Register the store
services.AddPostgresFileSystemWatcherStoreFromConfiguration(configuration);
Dependencies
Generated from ProjectReference / PackageReference (same model as docs/Lyo.ProjectGraph.html).
Lyo.Exceptions(direct, lyo)Lyo.FileSystemWatcher(direct, lyo)Lyo.FileSystemWatcher.Models(direct, lyo)Lyo.Hashing(direct, lyo)Lyo.Json(direct, lyo)Lyo.Postgres(direct, lyo)Microsoft.EntityFrameworkCore10.0.5(direct, microsoft)Microsoft.EntityFrameworkCore.Design10.0.5(direct, microsoft)Microsoft.Extensions.Configuration.Binder10.0.5(direct, microsoft)Microsoft.Extensions.Hosting.Abstractions10.0.5(direct, microsoft)Lyo.Common.Core(transitive, lyo)Lyo.Common.Metadata(transitive, lyo)Lyo.Health(transitive, lyo)Lyo.IO.FileSystem(transitive, lyo)Lyo.Metrics(transitive, lyo)Microsoft.Bcl.AsyncInterfaces10.0.5(transitive, microsoft, netstandard2.0)Microsoft.EntityFrameworkCore.Relational10.0.5(transitive, microsoft)Microsoft.Extensions.DependencyInjection.Abstractions10.0.5(transitive, microsoft)Microsoft.Extensions.Logging.Abstractions10.0.5(transitive, microsoft)Microsoft.Extensions.Options10.0.5(transitive, microsoft)Npgsql.EntityFrameworkCore.PostgreSQL10.0.3(transitive, third-party)System.IO.Hashing10.0.5(transitive, microsoft, net10.0)System.Memory4.6.3(transitive, microsoft, netstandard2.0)System.Text.Encoding.CodePages10.0.5(transitive, microsoft)System.Text.Json10.0.5(transitive, microsoft, netstandard2.0)
| 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. |
-
net10.0
- Lyo.Exceptions (>= 3.0.0)
- Lyo.FileSystemWatcher (>= 3.0.0)
- Lyo.FileSystemWatcher.Models (>= 3.0.0)
- Lyo.Hashing (>= 3.0.0)
- Lyo.Json (>= 3.0.0)
- Lyo.Postgres (>= 3.0.0)
- Microsoft.EntityFrameworkCore (>= 10.0.5)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.5)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.5)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Lyo.FileSystemWatcher.Postgres:
| Package | Downloads |
|---|---|
|
Lyo.FileSystemWatcher.Seed
EF seed of file system watches, snapshots, and changes. |
GitHub repositories
This package is not used by any popular GitHub repositories.