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

Method sectionText

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

Source from the content-addressed store, hash-verified

7001 // RPCProtocol class in vscode's rpcProtocol.ts went out that way, leaving a
7002 // 3-line stub where ~5,200 chars of its body had fit.
7003 const sectionText = (parts: ReadonlyArray<SectionPart>): string =>
7004 joinPartsWithNamedGaps(filePath, parts, fileIndexNodes, 0);
7005 /**
7006 * The line spans `buildSection` renders for [start, end] — split out so the
7007 * 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