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

Function daemonInternalSet

src/mcp/index.ts:101–104  ·  view source on GitHub ↗

Whether this process was spawned to BE the detached daemon.

()

Source from the content-addressed store, hash-verified

99
100/** Whether this process was spawned to BE the detached daemon. */
101function daemonInternalSet(): boolean {
102 const raw = process.env[DAEMON_INTERNAL_ENV];
103 return !!raw && raw !== '0' && raw.toLowerCase() !== 'false';
104}
105
106/**
107 * Resolve the project root the daemon machinery should key on. Returns

Callers 1

startMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected