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

Method setKnownSubprojects

src/mcp/tools.ts:2271–2274  ·  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

2269 * clears any previous note.
2270 */
2271 setKnownSubprojects(roots: string[], base: string): void {
2272 this.knownSubprojects = roots;
2273 this.knownSubprojectsBase = base;
2274 }
2275
2276 /** One message line naming the indexed sub-projects, or '' when none known. */
2277 private formatKnownSubprojects(): string {

Callers 2

retryInitializeSyncMethod · 0.80
doInitializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected