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

Method fmt

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

Source from the content-addressed store, hash-verified

8698 /** Call-site lines shown per caller, so one busy caller can't crowd the trail. */
8699 const TRAIL_CALL_SITES = 3;
8700 const fmt = (row: CallSiteRow, where: string) => {
8701 const base = `${row.node.name} (${where})`;
8702 const synth = this.synthEdgeNote(row.edges[0]!);
8703 return synth ? `${base} [${synth}]` : base;
8704 };
8705 // A callee reads at its declaration, where following it leads. A caller
8706 // reads at the lines its calls sit on, every one a line to edit when this
8707 // 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