MCPcopy Index your code
hub / github.com/garrytan/gstack / resolveLockFilePath

Function resolveLockFilePath

design/src/daemon-state.ts:46–48  ·  view source on GitHub ↗
(stateFile: string = resolveStateFilePath())

Source from the content-addressed store, hash-verified

44}
45
46export function resolveLockFilePath(stateFile: string = resolveStateFilePath()): string {
47 return `${stateFile}.lock`;
48}
49
50export function resolveDaemonLogPath(): string {
51 return path.join(os.homedir(), ".gstack", "design-daemon.log");

Callers 2

ensureDaemonFunction · 0.90

Calls 1

resolveStateFilePathFunction · 0.85

Tested by

no test coverage detected