def ready

mylsm-lsm-store@0.6.0.1 · src/scan/VisibleCursor.bend:383

import mylsm-lsm-store@0.6.0.1/src/scan/VisibleCursor.bend as VisibleCursor
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable
import mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend as RangeCursor
import mylsm-lsm-store@0.6.0.1/src/scan/SstCursor.bend as SstCursor

383# Resolves one already-read SST head against the next bounded delta head.
384def ready(
385  base: Maybe<&1, SstCursor.Cursor>,
386  pending: Maybe<&1, ByteMemTable.Entry>,
387  delta: List<&1, ByteMemTable.Entry>,
388  bounds: RangeCursor.Bounds
389) -> Step:
390  ready.copied(base, pending, delta, RangeCursor.bounds.clone(bounds))

Uses (8)

Used by (2)