def snapshot.root.value.length.delta.output

mylsm-lsm-store@0.6.0.1 · src/ByteDurableDb.bend:3031

import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as ByteDurableDb
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

3031def snapshot.root.value.length.delta.output(
3032  sst_path: Maybe<&1, String>,
3033  sst_generation: Maybe<&1, U32>,
3034  retained_bytes: Nat,
3035  lookup_key: Bytes.Bytes,
3036  looked_up: ByteMemTable.Table & ByteMemTable.LengthProbe
3037) -> SnapshotRoot & ByteMemTable.LengthProbe & Bytes.Bytes:
3038  match looked_up:
3039    case (ByteMemTable.Table{entries}, probe):
3040      (SnapshotRoot{sst_path, sst_generation, retained_bytes, entries},
3041        probe, lookup_key)

Uses (10)

Used by (1)