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

Method coveredChars

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

Source from the content-addressed store, hash-verified

6057 return { parts: kept, covered: mergeRanges(covered) };
6058 };
6059 const coveredChars = (spans: ReadonlyArray<ExploreLineRange>): number =>
6060 spans.reduce((sum, r) => sum + fileLines.slice(r.start - 1, r.end).join('\n').length, 0);
6061 /**
6062 * Emit one file's section — header, the back-reference for whatever the
6063 * 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