def open

mylsm-lsm-store@0.6.0.1 · src/scan/SstCursor.bend:391

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

391# Validates the complete SST before opening a second bounded scan pass.
392def open(
393  +path: String,
394  bounds: Bounds
395) ->
396  IO(Result<&1, &1, U32 & String, Cursor>):
397  do IO<Result<&1, &1, U32 & String, Cursor>>:
398    opened : Result<&1, &1, U32 & String, ByteBlockReader.Reader> <-
399      ByteBlockReader.open(path)
400    open.result(path, bounds, opened)

Uses (11)

Used by (0)

No other definition uses this definition.