def exact.complete

mylsm-lsm-store@0.6.0.1 · src/SstStreamIo.bend:43

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

43def exact.complete(
44  file: File,
45  chunks: List<&1, Bytes.Bytes>,
46  complete: Bool
47) -> IO(File & Result<&1, &1, U32 & String, ExactResult>):
48  IO.pure(File & Result<&1, &1, U32 & String, ExactResult>,
49    (file, Done{ExactResult{Bytes.concat(List.reverse(&1, Bytes.Bytes, chunks)), complete}}))

Uses (14)

Used by (1)