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

Function daemonOptOutSet

src/mcp/index.ts:236–240  ·  view source on GitHub ↗

Whether `CODEGRAPH_NO_DAEMON` was set to a truthy value.

()

Source from the content-addressed store, hash-verified

234
235/** Whether `CODEGRAPH_NO_DAEMON` was set to a truthy value. */
236function daemonOptOutSet(): boolean {
237 const raw = process.env.CODEGRAPH_NO_DAEMON;
238 if (!raw) return false;
239 return raw !== '0' && raw.toLowerCase() !== 'false';
240}
241
242/** Whether this process was spawned to BE the detached daemon. */
243function daemonInternalSet(): boolean {

Callers 1

startMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected