MCPcopy
hub / github.com/codeaashu/claude-code / getLockfile

Function getLockfile

src/utils/lockfile.ts:18–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16let _lockfile: Lockfile | undefined
17
18function getLockfile(): Lockfile {
19 if (!_lockfile) {
20 // eslint-disable-next-line @typescript-eslint/no-require-imports
21 _lockfile = require('proper-lockfile') as Lockfile
22 }
23 return _lockfile
24}
25
26export function lock(
27 file: string,

Callers 4

lockFunction · 0.85
lockSyncFunction · 0.85
unlockFunction · 0.85
checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected