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

Method definitionHeading

src/mcp/tools.ts:3416–3420  ·  view source on GitHub ↗

Section heading for one distinct definition in grouped output.

(group: Node[])

Source from the content-addressed store, hash-verified

3414
3415 /** Section heading for one distinct definition in grouped output. */
3416 private definitionHeading(group: Node[]): string {
3417 const head = group[0]!;
3418 const line = head.startLine ? `:${head.startLine}` : '';
3419 return `**${head.qualifiedName}** (${head.kind}) — ${head.filePath}${line}`;
3420 }
3421
3422 /**
3423 * Handle codegraph_callers

Callers 2

handleCallersMethod · 0.95
handleCalleesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected