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

Function fsLockOwnersEqual

src/utils/fs-lock-shared.ts:31–39  ·  view source on GitHub ↗
(left: FsLockOwner | null, right: FsLockOwner)

Source from the content-addressed store, hash-verified

29}
30
31export function fsLockOwnersEqual(left: FsLockOwner | null, right: FsLockOwner): boolean {
32 return (
33 left?.token === right.token &&
34 left.pid === right.pid &&
35 left.purpose === right.purpose &&
36 left.acquiredAtMs === right.acquiredAtMs &&
37 left.expiresAtMs === right.expiresAtMs
38 );
39}
40
41export function guardDirForLockDir(lockDir: string): string {
42 return `${lockDir}.guard`;

Callers 2

tryRecoverExpiredLockDirFunction · 0.90
tryRecoverExpiredLockDirFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected