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

Function handleStop

src/cli/commands/daemon.ts:153–165  ·  view source on GitHub ↗
(client: DaemonClient)

Source from the content-addressed store, hash-verified

151}
152
153async function handleStop(client: DaemonClient): Promise<void> {
154 try {
155 await client.stop();
156 writeLine('Daemon stopped');
157 } catch (err) {
158 if (err instanceof Error && err.message.includes('not running')) {
159 writeLine('Daemon is not running');
160 } else {
161 console.error('Error:', err instanceof Error ? err.message : String(err));
162 process.exitCode = 1;
163 }
164 }
165}
166
167async function handleStart(
168 socketPath: string,

Callers 1

registerDaemonCommandsFunction · 0.85

Calls 2

writeLineFunction · 0.70
stopMethod · 0.65

Tested by

no test coverage detected