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

Function pickCheckers

src/tools/diagnostics/checkers.ts:177–188  ·  view source on GitHub ↗
(files: Set<string>)

Source from the content-addressed store, hash-verified

175 * behaves identically to before; only genuinely polyglot repos get the extra coverage.
176 */
177export function pickCheckers(files: Set<string>): CheckerSpec[] {
178 const chosen: CheckerSpec[] = [];
179 const owned = new Set<string>();
180 for (const c of CHECKERS) {
181 if (!c.detect(files)) continue;
182 if (c.exts.some(e => !owned.has(e))) {
183 chosen.push(c);
184 for (const e of c.exts) owned.add(e);
185 }
186 }
187 return chosen;
188}

Callers 4

idsFunction · 0.85
verifyTouchedFilesFunction · 0.85
captureBaselineFunction · 0.85

Calls 3

addMethod · 0.80
hasMethod · 0.45
pushMethod · 0.45

Tested by 1

idsFunction · 0.68