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

Function ids

test/partition.test.ts:4–6  ·  view source on GitHub ↗
(items: WorkItem[])

Source from the content-addressed store, hash-verified

2import { partitionWork, toWorkItems, type WorkItem } from '../src/orchestration/partition.js';
3
4function ids(items: WorkItem[]): string[] {
5 return items.map((i) => i.id);
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();

Callers 2

allIdsFunction · 0.70
partition.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected