MCPcopy Index your code
hub / github.com/forloopcodes/contextplus / formatLineRange

Function formatLineRange

src/tools/semantic-navigate.ts:143–145  ·  view source on GitHub ↗
(line: number, endLine: number)

Source from the content-addressed store, hash-verified

141}
142
143function formatLineRange(line: number, endLine: number): string {
144 return endLine > line ? `L${line}-L${endLine}` : `L${line}`;
145}
146
147async function labelSiblingClusters(clusters: { files: FileInfo[]; pathPattern: string | null }[]): Promise<string[]> {
148 if (clusters.length === 0) return [];

Callers 1

semanticNavigateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected