def footer.valid.pair

mylsm-lsm-store@0.6.0.1 · src/transfer/Restore.bend:310

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

310def footer.valid.pair(
311  pair: Bytes.Bytes & Bytes.Bytes,
312  entry_count: Nat,
313  block_count: Nat
314) -> Bool:
315  match pair:
316    case (_, footer): footer.valid.copies(clone.split(footer), entry_count, block_count)

Uses (7)

Used by (1)