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

Method fmt

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

Source from the content-addressed store, hash-verified

8947 /** Call-site lines shown per caller, so one busy caller can't crowd the trail. */
8948 const TRAIL_CALL_SITES = 3;
8949 const fmt = (row: CallSiteRow, where: string) => {
8950 const base = `${row.node.name} (${where})`;
8951 const synth = this.synthEdgeNote(row.edges[0]!);
8952 return synth ? `${base} [${synth}]` : base;
8953 };
8954 // A callee reads at its declaration, where following it leads. A caller
8955 // reads at the lines its calls sit on, every one a line to edit when this
8956 // 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