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

Method setKnownSubprojects

src/mcp/tools.ts:2336–2339  ·  view source on GitHub ↗

* Engine-only: record the indexed sub-projects the workspace down-scan saw * when it could not adopt a default project (#1606/#1607). An empty list * clears any previous note.

(roots: string[], base: string)

Source from the content-addressed store, hash-verified

2334 * clears any previous note.
2335 */
2336 setKnownSubprojects(roots: string[], base: string): void {
2337 this.knownSubprojects = roots;
2338 this.knownSubprojectsBase = base;
2339 }
2340
2341 /** One message line naming the indexed sub-projects, or '' when none known. */
2342 private formatKnownSubprojects(): string {

Callers 2

retryInitializeSyncMethod · 0.80
doInitializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected