def exact.complete

mylsm-lsm-store@0.6.0.1 · src/coordinator/Io.bend:414

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

414def exact.complete(
415  file: File,
416  chunks: List<&1, Bytes.Bytes>,
417  complete: Bool
418) -> IO(File & Result<&1, &1, U32 & String, ExactResult>):
419  IO.pure(File & Result<&1, &1, U32 & String, ExactResult>,
420    (file, Done{ExactResult{Bytes.concat(List.reverse(&1, Bytes.Bytes, chunks)),
421      complete}}))

Uses (14)

Used by (1)