Function
sameTable
(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; |
Tested by
no test coverage detected