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

Method logSubprojectAdoption

src/mcp/engine.ts:264–269  ·  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

262
263 /** One stderr line when the default project came from the down-scan (#1606). */
264 private logSubprojectAdoption(searchFrom: string, root: string): void {
265 const rel = path.relative(searchFrom, root) || root;
266 process.stderr.write(
267 `[CodeGraph MCP] No .codegraph/ at ${searchFrom}; adopted the single indexed sub-project ${rel} as the default project.\n`
268 );
269 }
270
271 /**
272 * 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