MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / writeLegacyLock

Function writeLegacyLock

__tests__/daemon-lock-holder.test.ts:82–86  ·  view source on GitHub ↗
(pid: number)

Source from the content-addressed store, hash-verified

80}
81
82function writeLegacyLock(pid: number): string {
83 const lockPath = getDaemonPidPath(root);
84 fs.writeFileSync(lockPath, `${pid}\n`);
85 return lockPath;
86}
87
88/** A current-format lock whose socket no daemon listens on. */
89function writeLock(pid: number): string {

Callers 1

Calls 1

getDaemonPidPathFunction · 0.90

Tested by

no test coverage detected