MCPcopy Create free account
hub / github.com/EvoMap/evolver / verifyReuseAssetId

Function verifyReuseAssetId

src/gep/cliContracts.js:528–531  ·  view source on GitHub ↗
(asset, requestedId)

Source from the content-addressed store, hash-verified

526}
527
528function verifyReuseAssetId(asset, requestedId) {
529 if (!asset || asset.asset_id !== requestedId) return { ok: false };
530 return { ok: computeAssetId(asset) === requestedId };
531}
532
533function isReuseAssetStoreStable(asset) {
534 return Boolean(asset && asset.schema_version);

Callers 1

runReuseCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected