def snapshot.root.value.length.probed
mylsm-lsm-store@0.6.0.1 · src/ByteDurableDb.bend:3082
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 mylsm-lsm-store@0.6.0.1/src/coordinator/SnapshotValueLengthPolicy.bend as SnapshotValueLengthPolicy
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
3082def snapshot.root.value.length.probed(
3083 measured: SnapshotRoot & ByteMemTable.LengthProbe & Bytes.Bytes
3084) -> IO(Result<&1, &1, Error, Maybe<&1, U32>>):
3085 match measured:
3086 case (root, (+probe, key)):
3087 snapshot.root.value.length.dispatch(root, probe, key,
3088 SnapshotValueLengthPolicy.delta(probe))