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

Function setDiff

src/orchestration/staging.ts:200–204  ·  view source on GitHub ↗
(a: Set<T>, b: Set<T>)

Source from the content-addressed store, hash-verified

198}
199
200function setDiff<T>(a: Set<T>, b: Set<T>): Set<T> {
201 const out = new Set<T>();
202 for (const x of a) if (!b.has(x)) out.add(x);
203 return out;
204}

Callers 1

dryRunMergeMethod · 0.85

Calls 2

addMethod · 0.80
hasMethod · 0.45

Tested by

no test coverage detected