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

Method definitionHeading

src/mcp/tools.ts:1635–1639  ·  view source on GitHub ↗

Section heading for one distinct definition in grouped output.

(group: Node[])

Source from the content-addressed store, hash-verified

1633
1634 /** Section heading for one distinct definition in grouped output. */
1635 private definitionHeading(group: Node[]): string {
1636 const head = group[0]!;
1637 const line = head.startLine ? `:${head.startLine}` : '';
1638 return `**${head.qualifiedName}** (${head.kind}) — ${head.filePath}${line}`;
1639 }
1640
1641 /**
1642 * Handle codegraph_callers

Callers 2

handleCallersMethod · 0.95
handleCalleesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected