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

Method buildSection

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

Source from the content-addressed store, hash-verified

7092 return merged;
7093 };
7094 const buildSection = (c: { start: number; end: number }): SectionPart[] =>
7095 sectionRangesOf(c).map((r) => ({ range: r, text: renderSpan(r) }));
7096
7097 /** Rendered cost of one member on its own, context padding included. */
7098 const paddedCost = (r: ExploreRange): number => {

Callers

nothing calls this directly

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected