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

Method setKnownSubprojects

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

2295 * clears any previous note.
2296 */
2297 setKnownSubprojects(roots: string[], base: string): void {
2298 this.knownSubprojects = roots;
2299 this.knownSubprojectsBase = base;
2300 }
2301
2302 /** One message line naming the indexed sub-projects, or '' when none known. */
2303 private formatKnownSubprojects(): string {

Callers 2

retryInitializeSyncMethod · 0.80
doInitializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected