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

Function checkerText

src/tools/diagnostics/checkers.ts:149–153  ·  view source on GitHub ↗
(spec: CheckerSpec, run: CheckerRun)

Source from the content-addressed store, hash-verified

147
148/** Pick the captured stream a checker's diagnostics live on. */
149export function checkerText(spec: CheckerSpec, run: CheckerRun): string {
150 return spec.stream === 'stdout' ? run.stdout
151 : spec.stream === 'stderr' ? run.stderr
152 : `${run.stdout}\n${run.stderr}`;
153}
154
155/** Root-directory entry names, for checker detection. Never throws. */
156export async function detectProjectFiles(root: string): Promise<Set<string>> {

Callers 3

executeMethod · 0.85
runCheckerCollectFunction · 0.85
captureBaselineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected