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

Function socketPathForWorkspaceRoot

src/daemon/socket-path.ts:33–36  ·  view source on GitHub ↗
(workspaceRoot: string)

Source from the content-addressed store, hash-verified

31}
32
33export function socketPathForWorkspaceRoot(workspaceRoot: string): string {
34 const key = workspaceKeyForRoot(workspaceRoot);
35 return join(daemonDirForWorkspaceKey(key), 'd.sock');
36}
37
38export function registryPathForWorkspaceKey(key: string): string {
39 return join(getWorkspaceFilesystemLayout(key).state, 'daemon', 'daemon.json');

Callers 1

getSocketPathFunction · 0.85

Calls 2

workspaceKeyForRootFunction · 0.90
daemonDirForWorkspaceKeyFunction · 0.85

Tested by

no test coverage detected