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

Method fmt

src/mcp/tools.ts:8674–8678  ·  view source on GitHub ↗
(row: CallSiteRow, where: string)

Source from the content-addressed store, hash-verified

8672 /** Call-site lines shown per caller, so one busy caller can't crowd the trail. */
8673 const TRAIL_CALL_SITES = 3;
8674 const fmt = (row: CallSiteRow, where: string) => {
8675 const base = `${row.node.name} (${where})`;
8676 const synth = this.synthEdgeNote(row.edges[0]!);
8677 return synth ? `${base} [${synth}]` : base;
8678 };
8679 // A callee reads at its declaration, where following it leads. A caller
8680 // reads at the lines its calls sit on, every one a line to edit when this
8681 // symbol changes (#2909), and a symbol that calls itself is among its own

Callers

nothing calls this directly

Calls 1

synthEdgeNoteMethod · 0.95

Tested by

no test coverage detected