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

Function detectXcodeRuntime

src/utils/xcode-process.ts:21–31  ·  view source on GitHub ↗
(
  executor: CommandExecutor,
  startPid?: string,
)

Source from the content-addressed store, hash-verified

19}
20
21export async function detectXcodeRuntime(
22 executor: CommandExecutor,
23 startPid?: string,
24): Promise<XcodeRuntimeDetection> {
25 const processTreeResult = await getProcessTree(executor, startPid);
26 return {
27 runningUnderXcode: isRunningUnderXcode(processTreeResult.entries),
28 processTree: processTreeResult.entries,
29 error: processTreeResult.error,
30 };
31}

Callers 3

collectDoctorDataFunction · 0.90
bootstrapServerFunction · 0.90

Calls 2

getProcessTreeFunction · 0.90
isRunningUnderXcodeFunction · 0.85

Tested by

no test coverage detected