MCPcopy Create free account
hub / github.com/continuedev/continue / shouldStopAtMarkdownBlock

Function shouldStopAtMarkdownBlock

core/utils/streamMarkdownUtils.ts:9–14  ·  view source on GitHub ↗
(
  stateTracker: MarkdownBlockStateTracker,
  currentIndex: number,
)

Source from the content-addressed store, hash-verified

7 * Uses optimized state tracking to avoid redundant computation.
8 */
9export function shouldStopAtMarkdownBlock(
10 stateTracker: MarkdownBlockStateTracker,
11 currentIndex: number,
12): boolean {
13 return stateTracker.shouldStopAtPosition(currentIndex);
14}
15
16/**
17 * Processes block nesting logic and returns updated state.

Callers 2

filterCodeBlockLinesFunction · 0.90

Calls 1

shouldStopAtPositionMethod · 0.80

Tested by

no test coverage detected