MCPcopy
hub / github.com/colbymchenry/codegraph / daemonOptOutSet

Function daemonOptOutSet

src/mcp/index.ts:91–95  ·  view source on GitHub ↗

Whether `CODEGRAPH_NO_DAEMON` was set to a truthy value.

()

Source from the content-addressed store, hash-verified

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

Callers 1

startMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected