MCPcopy
hub / github.com/inkeep/open-knowledge / lockFilePath

Function lockFilePath

packages/server/src/process-lock.ts:56–58  ·  view source on GitHub ↗
(lockDir: string, lockName: LockName)

Source from the content-addressed store, hash-verified

54}
55
56export function lockFilePath(lockDir: string, lockName: LockName): string {
57 return resolve(lockDir, `${lockName}.lock`);
58}
59
60const activeLockRefs = new Map<string, number>();
61

Callers 7

inspectLockFunction · 0.85
acquireProcessLockFunction · 0.85
updateProcessLockPortFunction · 0.85
readProcessLockFunction · 0.85
readProcessLockDetailedFunction · 0.85
releaseProcessLockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected