MCPcopy
hub / github.com/colbymchenry/codegraph / definitionHeading

Method definitionHeading

src/mcp/tools.ts:1528–1532  ·  view source on GitHub ↗

Section heading for one distinct definition in grouped output.

(group: Node[])

Source from the content-addressed store, hash-verified

1526
1527 /** Section heading for one distinct definition in grouped output. */
1528 private definitionHeading(group: Node[]): string {
1529 const head = group[0]!;
1530 const line = head.startLine ? `:${head.startLine}` : '';
1531 return `**${head.qualifiedName}** (${head.kind}) — ${head.filePath}${line}`;
1532 }
1533
1534 /**
1535 * Handle codegraph_callers

Callers 2

handleCallersMethod · 0.95
handleCalleesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected