def parse.stream.finish.footer.compare

mylsm-lsm-store@0.6.0.1 · src/ByteSstFile.bend:1567

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

1567def parse.stream.finish.footer.compare(
1568  comparison: Bytes.Bytes & Bytes.Bytes & Bool
1569) -> Result<&1, &1, Error, Unit>:
1570  match comparison:
1571    case (_, _, True{}): Done{Unit{}}
1572    case (_, _, False{}): Fail{ChecksumMismatch{}}

Uses (7)

Used by (1)