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

Method fmt

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

Source from the content-addressed store, hash-verified

8525 /** Call-site lines shown per caller, so one busy caller can't crowd the trail. */
8526 const TRAIL_CALL_SITES = 3;
8527 const fmt = (row: CallSiteRow, where: string) => {
8528 const base = `${row.node.name} (${where})`;
8529 const synth = this.synthEdgeNote(row.edges[0]!);
8530 return synth ? `${base} [${synth}]` : base;
8531 };
8532 // A callee reads at its declaration, where following it leads. A caller
8533 // reads at the lines its calls sit on, every one a line to edit when this
8534 // 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