MCPcopy Create free account
hub / github.com/cortexkit/magic-context / lastBreakpointIndex

Function lastBreakpointIndex

packages/e2e-tests/src/cache-analysis.ts:160–164  ·  view source on GitHub ↗
(segs: WireSegment[])

Source from the content-addressed store, hash-verified

158}
159
160function lastBreakpointIndex(segs: WireSegment[]): number {
161 let last = -1;
162 for (let i = 0; i < segs.length; i += 1) if (segs[i].breakpoint) last = i;
163 return last;
164}
165
166function rawSegmentText(body: MinimalRequest["body"], idx: number): string | null {
167 const system = body.system;

Callers 1

analyzePassesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected