def next.trailer.finish.root.digest

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

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

1477def next.trailer.finish.root.digest(
1478  file: File,
1479  +total: U32,
1480  +index_length: U32,
1481  footer: Bytes.Bytes,
1482  digest: Bytes.Bytes
1483) -> IO(Result<&1, &1, U32 & String, Step>):
1484  next.trailer.finish.root.expected(file, footer,
1485    Bytes.concat([ByteSstFile.footer.magic(), ByteSstFile.u32.bytes(total),
1486      ByteSstFile.u32.bytes(index_length), digest]))

Uses (13)

Used by (1)