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

Method formatKnownSubprojects

src/mcp/tools.ts:1437–1445  ·  view source on GitHub ↗

One message line naming the indexed sub-projects, or '' when none known.

()

Source from the content-addressed store, hash-verified

1435
1436 /** One message line naming the indexed sub-projects, or '' when none known. */
1437 private formatKnownSubprojects(): string {
1438 if (this.knownSubprojects.length === 0) return '';
1439 const base = this.knownSubprojectsBase;
1440 const rels = this.knownSubprojects.map((r) => (base ? relativePath(base, r) || '.' : r));
1441 return (
1442 `Indexed sub-projects were found below it: ${rels.join(', ')} — ` +
1443 'pass one of them (absolute, or resolved against that directory) as projectPath.\n'
1444 );
1445 }
1446
1447 /**
1448 * Whether a default CodeGraph instance is available

Callers 1

getCodeGraphMethod · 0.95

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected