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

Function daemonOptOutSet

src/mcp/index.ts:94–98  ·  view source on GitHub ↗

Whether `CODEGRAPH_NO_DAEMON` was set to a truthy value.

()

Source from the content-addressed store, hash-verified

92
93/** Whether `CODEGRAPH_NO_DAEMON` was set to a truthy value. */
94function daemonOptOutSet(): boolean {
95 const raw = process.env.CODEGRAPH_NO_DAEMON;
96 if (!raw) return false;
97 return raw !== '0' && raw.toLowerCase() !== 'false';
98}
99
100/** Whether this process was spawned to BE the detached daemon. */
101function daemonInternalSet(): boolean {

Callers 1

startMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected