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

Function setWrite

src/utils/shutdown-state.ts:27–32  ·  view source on GitHub ↗
(target: StdioWriteTarget | undefined, write: WritableMethod)

Source from the content-addressed store, hash-verified

25}
26
27function setWrite(target: StdioWriteTarget | undefined, write: WritableMethod): void {
28 if (!target || typeof target.write !== 'function') {
29 return;
30 }
31 target.write = write;
32}
33
34export function suppressProcessStdioWrites(): void {
35 if (stdioSuppressed) {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected