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

Method setKnownSubprojects

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

1429 * clears any previous note.
1430 */
1431 setKnownSubprojects(roots: string[], base: string): void {
1432 this.knownSubprojects = roots;
1433 this.knownSubprojectsBase = base;
1434 }
1435
1436 /** One message line naming the indexed sub-projects, or '' when none known. */
1437 private formatKnownSubprojects(): string {

Callers 2

retryInitializeSyncMethod · 0.80
doInitializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected