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

Function readLogFileSafe

src/utils/simulator-steps.ts:330–336  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

328}
329
330function readLogFileSafe(filePath: string): string {
331 try {
332 return fs.readFileSync(filePath, 'utf-8');
333 } catch {
334 return '';
335 }
336}
337
338async function startTrackedOsLogStream(
339 simulatorUuid: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected