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

Function arcsInRange

ui/src/lib/filecode-model.ts:477–479  ·  view source on GitHub ↗
(arcs: readonly FileArc[], first: number, last: number)

Source from the content-addressed store, hash-verified

475
476/** Arcs that reach into a rendered line range. */
477export function arcsInRange(arcs: readonly FileArc[], first: number, last: number): FileArc[] {
478 return arcs.filter((arc) => arc.minLine <= last && arc.maxLine >= first);
479}
480
481/* --------------------------------------------------------------- header -- */
482

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected