LogoRobo.js
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

ParameterTypeDescription
adapterFlashcoreAdapter<string, unknown>The storage adapter
catalogCatalogThe catalog to verify
modelNamestringName of the model
namespace?stringOptional namespace

Returns

Promise<CatalogVerificationResult>

Verification result with any issues found

On this page