def get.sst.closed

mylsm-lsm-store@0.6.0.1 · src/ByteDurableDb.bend:1060

import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as ByteDurableDb
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable
import mylsm-lsm-store@0.6.0.1/src/DbLock.bend as DbLock
import mylsm-lsm-store@0.6.0.1/src/scan/SstCursor.bend as SstCursor
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

1060def get.sst.closed(
1061  +path: String,
1062  lock: DbLock.Lock,
1063  table: ByteMemTable.Table,
1064  value: Maybe<&1, Bytes.Bytes>,
1065  cursor: SstCursor.Cursor
1066) -> IO(Handle & Result<&1, &1, Error, Maybe<&1, Bytes.Bytes>>):
1067  do IO<Handle & Result<&1, &1, Error, Maybe<&1, Bytes.Bytes>>>:
1068    closed : Result<&1, &1, U32 & String, Unit> <- SstCursor.close(cursor)
1069    get.sst.close.result(path, lock, table, value, closed)

Uses (16)

Used by (1)