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

Function createSocketPath

src/cli/__tests__/daemon-client.test.ts:10–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8import { DAEMON_PROTOCOL_VERSION } from '../../daemon/protocol.ts';
9
10async function createSocketPath(): Promise<string> {
11 const directory = await mkdtemp(path.join(tmpdir(), 'xcodebuildmcp-client-'));
12 return path.join(directory, 'daemon.sock');
13}
14
15async function listen(server: net.Server, socketPath: string): Promise<void> {
16 await new Promise<void>((resolve, reject) => {

Callers 1

Calls 2

mkdtempFunction · 0.85
tmpdirFunction · 0.85

Tested by

no test coverage detected