MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / allIds

Function allIds

test/partition.test.ts:8–10  ·  view source on GitHub ↗

All item ids across every partition, sorted — for "nothing lost/duplicated" checks.

(parts: ReturnType<typeof partitionWork>)

Source from the content-addressed store, hash-verified

6}
7/** All item ids across every partition, sorted — for "nothing lost/duplicated" checks. */
8function allIds(parts: ReturnType<typeof partitionWork>): string[] {
9 return parts.flatMap((p) => ids(p.items)).sort();
10}
11
12describe('partitionWork — invariants', () => {
13 it('returns [] for an empty list', () => {

Callers 1

partition.test.tsFile · 0.85

Calls 1

idsFunction · 0.70

Tested by

no test coverage detected