def open
import mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend as ByteBlockReaderimport Base
import mylsm-lsm-store@0.6.0.1/src/Fs.bend as Fs
470# Opens a generation-four SST and validates its bounded header metadata.
471def open(+path: String) -> IO(Result<&1, &1, U32 & String, Reader>):
472 do IO<Result<&1, &1, U32 & String, Reader>>:
473 size : Result<&1, &1, U32 & String, Nat> <- Fs.file_size(path)
474 open.sized(path, size)