def resolve

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

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

338# Applies the shared newest-wins decision to the current source heads.
339def resolve(
340  base: Maybe<&1, SstCursor.Cursor>,
341  base_entry: ByteMemTable.Entry,
342  delta_entry: ByteMemTable.Entry,
343  delta_tail: List<&1, ByteMemTable.Entry>,
344  bounds: RangeCursor.Bounds
345) -> Step:
346  resolve.compared(compare(base, base_entry, delta_entry, delta_tail, bounds))

Uses (8)

Used by (1)