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

Method definitionHeading

src/mcp/tools.ts:1563–1567  ·  view source on GitHub ↗

Section heading for one distinct definition in grouped output.

(group: Node[])

Source from the content-addressed store, hash-verified

1561
1562 /** Section heading for one distinct definition in grouped output. */
1563 private definitionHeading(group: Node[]): string {
1564 const head = group[0]!;
1565 const line = head.startLine ? `:${head.startLine}` : '';
1566 return `**${head.qualifiedName}** (${head.kind}) — ${head.filePath}${line}`;
1567 }
1568
1569 /**
1570 * Handle codegraph_callers

Callers 2

handleCallersMethod · 0.95
handleCalleesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected