def lookup.start.probe.value
mylsm-lsm-store@0.6.0.1 · src/ByteMemTable.bend:272
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
272def lookup.start.probe.value(table: Table, value: Maybe<&1, Bytes.Bytes>, found: Bool) -> Table & Probe:
273 match value:
274 case None{}:
275 match found:
276 case False{}: (table, Absent{})
277 case True{}: (table, Deleted{})
278 case Some{bytes}:
279 match found:
280 case False{}: (table, Absent{})
281 case True{}: (table, Present{bytes})