Whether `CODEGRAPH_NO_DAEMON` was set to a truthy value.
()
| 89 | |
| 90 | /** Whether `CODEGRAPH_NO_DAEMON` was set to a truthy value. */ |
| 91 | function 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. */ |
| 98 | function daemonInternalSet(): boolean { |