def file.emit

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

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

143# Emits all authenticated file sections with a completed root digest.
144def file.emit(
145  header: Bytes.Bytes,
146  block: Bytes.Bytes,
147  index: Bytes.Bytes,
148  footer: Bytes.Bytes
149) -> Result<&1, &1, Error, Bytes.Bytes>:
150  Done{Bytes.concat([header, block, index, footer])}

Uses (5)

Used by (1)