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

Method buildSection

src/mcp/tools.ts:7038–7039  ·  view source on GitHub ↗
(c: { start: number; end: number })

Source from the content-addressed store, hash-verified

7036 return merged;
7037 };
7038 const buildSection = (c: { start: number; end: number }): SectionPart[] =>
7039 sectionRangesOf(c).map((r) => ({ range: r, text: renderSpan(r) }));
7040
7041 /** Rendered cost of one member on its own, context padding included. */
7042 const paddedCost = (r: ExploreRange): number => {

Callers

nothing calls this directly

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected