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

Function stripHubMetadata

src/gep/cliContracts.js:736–742  ·  view source on GitHub ↗
(asset)

Source from the content-addressed store, hash-verified

734}
735
736function stripHubMetadata(asset) {
737 const out = {};
738 for (const key of Object.keys(asset || {})) {
739 if (!HUB_METADATA_KEYS.has(key)) out[key] = asset[key];
740 }
741 return out;
742}
743
744function dryRunEnvelope(bundle, credits) {
745 const blockReasons = Array.isArray(bundle.blockReasons) ? bundle.blockReasons : [];

Callers 1

runReuseCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected