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

Method inParts

src/mcp/tools.ts:6332–6333  ·  view source on GitHub ↗
(line: number)

Source from the content-addressed store, hash-verified

6330 focusLines: ReadonlyArray<number> = [],
6331 ): SectionPart[] => {
6332 const inParts = (line: number) =>
6333 parts.some((p) => line >= p.range.start && line <= p.range.end);
6334 const focus = [...new Set(focusLines)]
6335 .filter((l) => typeof l === 'number' && l > 0 && inParts(l))
6336 .sort((a, b) => a - b);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected