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

Method coveredChars

src/mcp/tools.ts:6115–6116  ·  view source on GitHub ↗
(spans: ReadonlyArray<ExploreLineRange>)

Source from the content-addressed store, hash-verified

6113 return { parts: kept, covered: mergeRanges(covered) };
6114 };
6115 const coveredChars = (spans: ReadonlyArray<ExploreLineRange>): number =>
6116 spans.reduce((sum, r) => sum + fileLines.slice(r.start - 1, r.end).join('\n').length, 0);
6117 /**
6118 * Emit one file's section — header, the back-reference for whatever the
6119 * agent already holds, and the fence for what is new. Every render path

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected