def parse.stream.finish.index.root
mylsm-lsm-store@0.6.0.1 · src/ByteSstFile.bend:1590
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
1590def parse.stream.finish.index.root(
1591 header: Bytes.Bytes,
1592 checksums: Bytes.Bytes,
1593 footer: Bytes.Bytes,
1594 +total: U32,
1595 index_hash: Bytes.Bytes,
1596 comparison: Bytes.Bytes & Bytes.Bytes & Bool
1597) -> Result<&1, &1, Error, Unit>:
1598 match comparison:
1599 case (_, _, valid):
1600 parse.stream.finish.footer(valid, header, checksums, index_hash, footer,
1601 total)