def record.value.fin

mylsm-lsm-store@0.6.0.1 · src/SstFile.bend:142

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

142def record.value.fin(
143  key_pair: Bytes.Bytes & U32,
144  result: Result<&1, &1, U32 & String, Bytes.Bytes>
145) -> Result<&1, &1, Error, Bytes.Bytes>:
146  match result:
147    case Fail{_}:
148      Fail{TooLarge{}}
149    case Done{value_bytes}:
150      record.value.finish(key_pair, Bytes.length(value_bytes))

Uses (8)

Used by (1)