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

Method logSubprojectAdoption

src/mcp/engine.ts:438–443  ·  view source on GitHub ↗

One stderr line when the default project came from the down-scan (#1606).

(searchFrom: string, root: string)

Source from the content-addressed store, hash-verified

436
437 /** One stderr line when the default project came from the down-scan (#1606). */
438 private logSubprojectAdoption(searchFrom: string, root: string): void {
439 const rel = path.relative(searchFrom, root) || root;
440 process.stderr.write(
441 `[CodeGraph MCP] No .codegraph/ at ${searchFrom}; adopted the single indexed sub-project ${rel} as the default project.\n`
442 );
443 }
444
445 /**
446 * Start file watching on the active CodeGraph instance. Idempotent — the

Callers 2

retryInitializeSyncMethod · 0.95
doInitializeMethod · 0.95

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected