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

Function daemonKeyPath

src/mcp/daemon-proof.ts:39–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37
38/** Where this user's daemon key lives. */
39export function daemonKeyPath(): string {
40 return path.join(os.homedir(), '.codegraph', 'daemon.key');
41}
42
43/** The key, when the file holds one that only this user can read; null otherwise. Never creates. */
44export function readDaemonKey(file: string = daemonKeyPath()): Buffer | null {

Callers 4

connectWithHelloFunction · 0.90
readDaemonKeyFunction · 0.85
daemonKeyFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected