MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / flush

Function flush

src/utils/xcodebuild-event-parser.ts:465–476  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

463 stderrBuffer = drainLines(stderrBuffer, chunk);
464 },
465 flush(): void {
466 if (stdoutBuffer.trim()) {
467 processLine(stdoutBuffer);
468 }
469 if (stderrBuffer.trim()) {
470 processLine(stderrBuffer);
471 }
472 flushQueuedFailureDiagnostics();
473 flushPendingError();
474 stdoutBuffer = '';
475 stderrBuffer = '';
476 },
477 get xcresultPath(): string | null {
478 return detectedXcresultPath;
479 },

Callers

nothing calls this directly

Calls 3

processLineFunction · 0.85
flushPendingErrorFunction · 0.85

Tested by

no test coverage detected