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

Function removeLockDir

src/utils/fs-lock.ts:38–44  ·  view source on GitHub ↗
(lockDir: string)

Source from the content-addressed store, hash-verified

36}
37
38async function removeLockDir(lockDir: string): Promise<void> {
39 try {
40 await fs.rm(lockDir, { recursive: true, force: true });
41 } catch {
42 // ignore
43 }
44}
45
46async function isDirectoryOlderThan(dir: string, now: number, ageMs: number): Promise<boolean> {
47 try {

Callers 2

tryRecoverExpiredLockDirFunction · 0.85
createLockFunction · 0.85

Calls 1

rmMethod · 0.80

Tested by

no test coverage detected