def delta.output.result
mylsm-lsm-store@0.6.0.1 · src/scan/VisibleCursor.bend:166
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
166def delta.output.result(
167 visible: Bool,
168 live: Bool,
169 entry: ByteMemTable.Entry,
170 base: Maybe<&1, SstCursor.Cursor>,
171 pending: Maybe<&1, ByteMemTable.Entry>,
172 tail: List<&1, ByteMemTable.Entry>,
173 bounds: RangeCursor.Bounds
174) -> Step:
175 match visible:
176 case True{}:
177 match live:
178 case True{}: Item{entry, Active{base, pending, tail, bounds, None{}}}
179 case False{}: Skip{Active{base, pending, tail, bounds, None{}}}
180 case False{}: Skip{Active{base, pending, tail, bounds, None{}}}