def open.trusted

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

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

363# Reopens a previously validated generation without rescanning every block.
364def open.trusted(
365  +path: String,
366  bounds: Bounds
367) -> IO(Result<&1, &1, U32 & String, Cursor>):
368  do IO<Result<&1, &1, U32 & String, Cursor>>:
369    opened : Result<&1, &1, U32 & String, ByteBlockReader.Reader> <-
370      ByteBlockReader.open(path)
371    open.trusted.result(bounds, opened)

Uses (11)

Used by (3)