MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / sameTable

Function sameTable

src/extraction/kernel/loader.ts:130–131  ·  view source on GitHub ↗
(a: readonly string[], b: readonly string[])

Source from the content-addressed store, hash-verified

128 return false;
129 }
130 const sameTable = (a: readonly string[], b: readonly string[]) =>
131 a.length === b.length && a.every((v, i) => v === b[i]);
132 if (!sameTable(info.nodeKinds, NODE_KINDS) || !sameTable(info.edgeKinds, EDGE_KINDS)) {
133 debug(`${from}: NodeKind/EdgeKind tables differ from src/types.ts — ignoring kernel`);
134 return false;

Callers 1

verifyContractFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected