MCPcopy Create free account
hub / github.com/backnotprop/plannotator / sessionPath

Function sessionPath

packages/server/sessions.ts:35–37  ·  view source on GitHub ↗
(pid: number)

Source from the content-addressed store, hash-verified

33}
34
35function sessionPath(pid: number): string {
36 return join(getSessionsDir(), `${pid}.json`);
37}
38
39/**
40 * Check if a process is still alive.

Callers 2

registerSessionFunction · 0.85
unregisterSessionFunction · 0.85

Calls 1

getSessionsDirFunction · 0.85

Tested by

no test coverage detected