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

Function formatLineRange

src/core/embeddings.ts:430–433  ·  view source on GitHub ↗
(line: number, endLine?: number)

Source from the content-addressed store, hash-verified

428}
429
430function formatLineRange(line: number, endLine?: number): string {
431 if (endLine && endLine > line) return `L${line}-L${endLine}`;
432 return `L${line}`;
433}
434
435function getMatchedSymbolEntries(symbols: SymbolSearchEntry[], queryTerms: Set<string>): SymbolSearchEntry[] {
436 if (queryTerms.size === 0) return [];

Callers 1

searchMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected