validateDataStoreSeed
Validates a seed using free file statistics first, hashing only size-equal mtime mismatches. Files absent locally are discarded. Consumers index only the returned rebuild paths.
Import:
import { validateDataStoreSeed } from '@mnaoumov/obsidian-lib/data-stores/data-store-seeds';Signature:
function validateDataStoreSeed(params: ValidateDataStoreSeedParams): Promise<DataStoreSeedValidation>Parameters:
| Parameter | Type | Description |
|---|---|---|
params |
ValidateDataStoreSeedParams | Seed, current file tree and content-hash reader. |
Returns: Promise<DataStoreSeedValidation> — Reusable records and the paths that still need indexing.