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

Method groupDefinitions

src/mcp/tools.ts:3567–3572  ·  view source on GitHub ↗

* Group symbol matches into DISTINCT DEFINITIONS — one group per * (filePath, qualifiedName), so same-file overloads stay together while * unrelated same-named classes across a monorepo's apps (#764: one * `UserService` per NestJS app) are kept apart. Optionally narrowed by a * `file` pa

(
    nodes: Node[],
    fileFilter: string | undefined
  )

Source from the content-addressed store, hash-verified

3565 * `file` path/suffix first.
3566 */
3567 private groupDefinitions(
3568 nodes: Node[],
3569 fileFilter: string | undefined
3570 ): { groups: Node[][]; filteredOut: boolean } {
3571 return groupDefinitions(nodes, fileFilter);
3572 }
3573
3574 /** Section heading for one distinct definition in grouped output. */
3575 private definitionHeading(group: Node[]): string {

Callers 3

handleCallersMethod · 0.95
handleCalleesMethod · 0.95
handleImpactMethod · 0.95

Calls 1

groupDefinitionsFunction · 0.90

Tested by

no test coverage detected