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

Method sectionText

src/mcp/tools.ts:7059–7060  ·  view source on GitHub ↗
(parts: ReadonlyArray<SectionPart>)

Source from the content-addressed store, hash-verified

7057 // RPCProtocol class in vscode's rpcProtocol.ts went out that way, leaving a
7058 // 3-line stub where ~5,200 chars of its body had fit.
7059 const sectionText = (parts: ReadonlyArray<SectionPart>): string =>
7060 joinPartsWithNamedGaps(filePath, parts, fileIndexNodes, 0);
7061 /**
7062 * The line spans `buildSection` renders for [start, end] — split out so the
7063 * exact pricing below (`renderedSizeOfKept`) prices a member window as the

Callers

nothing calls this directly

Calls 1

joinPartsWithNamedGapsFunction · 0.85

Tested by

no test coverage detected