def validate

mylsm-lsm-store@0.6.0.1 · src/ByteSstIo.bend:166

import mylsm-lsm-store@0.6.0.1/src/ByteSstIo.bend as ByteSstIo
import Base
import mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend as ByteBlockReader

166# Validates an SST incrementally and returns only authenticated metadata.
167def validate(+path: String) -> IO(Result<&1, &1, U32 & String, ByteBlockReader.Metadata>):
168  do IO<Result<&1, &1, U32 & String, ByteBlockReader.Metadata>>:
169    opened : Result<&1, &1, U32 & String, ByteBlockReader.Reader> <-
170      ByteBlockReader.open(path)
171    validate.opened(opened)

Uses (10)

Used by (1)