Framework
verifyCatalogIntegrity()
Function: verifyCatalogIntegrity()
function verifyCatalogIntegrity(
adapter,
catalog,
modelName,
namespace?): Promise<CatalogVerificationResult>Verify catalog integrity against stored chunks and segments.
Compares the catalog entries against actual stored data and reports any discrepancies.
Parameters
| Parameter | Type | Description |
|---|---|---|
adapter | FlashcoreAdapter<string, unknown> | The storage adapter |
catalog | Catalog | The catalog to verify |
modelName | string | Name of the model |
namespace? | string | Optional namespace |
Returns
Promise<CatalogVerificationResult>
Verification result with any issues found
