def next.trailer.finish.root.compare.footer

mylsm-lsm-store@0.6.0.1 · src/scan/ByteBlockReader.bend:1445

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

1445def next.trailer.finish.root.compare.footer(
1446  file: File,
1447  footers: Bytes.Bytes & Bytes.Bytes,
1448  expected: Bytes.Bytes,
1449  for_compare: Bytes.Bytes
1450) -> IO(Result<&1, &1, U32 & String, Step>):
1451  match footers:
1452    case (for_result, footer):
1453      next.trailer.finish.footer(file, for_result, expected,
1454        block.checksum.compare(Bytes.eq(footer, for_compare)))

Uses (12)

Used by (1)