Skip to content

data-stores/data-store-seeds

Optional chunked seeds for expensive derived caches, with per-file validation before reuse.

Class Description
DataStoreSeeds Optional performance hints. Seeds are never authoritative state and must be validated before reuse.
Interface Description
DataStoreSeedEntry A derived record tagged with both cheap statistics and a content hash.
DataStoreSeedFile Cheap file identity already available from the vault’s file tree.
DataStoreSeedsConstructorParams Parameters for optional cache-seed sharing.
DataStoreSeedValidation Results of validating a shared cache seed against the local vault.
ValidateDataStoreSeedParams Parameters for per-file seed validation.
Function Description
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.