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

Function daemonOptOutSet

src/mcp/daemon-paths.ts:100–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98
99/** Whether `CODEGRAPH_NO_DAEMON` was set to a truthy value. */
100export function daemonOptOutSet(): boolean {
101 const raw = process.env.CODEGRAPH_NO_DAEMON;
102 if (!raw) return false;
103 return raw !== '0' && raw.toLowerCase() !== 'false';
104}
105
106/** Absolute path to the daemon pid lockfile for `projectRoot`. */
107export function getDaemonPidPath(projectRoot: string): string {

Callers 2

startMethod · 0.90
exploreViaDaemonFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected