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

Function daemonInternalSet

src/mcp/index.ts:239–242  ·  view source on GitHub ↗

Whether this process was spawned to BE the detached daemon.

()

Source from the content-addressed store, hash-verified

237
238/** Whether this process was spawned to BE the detached daemon. */
239function daemonInternalSet(): boolean {
240 const raw = process.env[DAEMON_INTERNAL_ENV];
241 return !!raw && raw !== '0' && raw.toLowerCase() !== 'false';
242}
243
244/**
245 * Prefix every `process.stderr.write` chunk with an ISO-8601 timestamp. Called

Callers 1

startMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected