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

Function touchCleanupMarker

src/utils/workspace-filesystem-lifecycle.ts:179–184  ·  view source on GitHub ↗
(markerPath: string, now: number)

Source from the content-addressed store, hash-verified

177}
178
179async function touchCleanupMarker(markerPath: string, now: number): Promise<void> {
180 await fs.mkdir(path.dirname(markerPath), { recursive: true, mode: 0o700 });
181 await fs.writeFile(markerPath, String(now));
182 const markerDate = new Date(now);
183 await fs.utimes(markerPath, markerDate, markerDate);
184}
185
186function hasLiveHelperPidInName(fileName: string): boolean {
187 for (const match of fileName.matchAll(HELPER_PID_PATTERN)) {

Callers 1

Calls 2

mkdirMethod · 0.80
writeFileMethod · 0.80

Tested by

no test coverage detected