def frame.records

mylsm-lsm-store@0.6.0.1 · src/Wal.bend:449

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

449def frame.records(
450  pair: Bytes.Cursor & Result<&1, &1, Error, List<&2, Mut>>
451) -> Result<&1, &1, Error, Batch>:
452  match pair:
453    case (_, Fail{error}):
454      Fail{error}
455    case (cursor, Done{muts}):
456      frame.verify.cursor(digest.read(cursor), muts)

Uses (10)

Used by (1)