def scan.entry.key.copied

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

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/ByteMemTable.bend as ByteMemTable
import mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend as ByteBlockReader
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

181def scan.entry.key.copied(
182  value: Maybe<&1, Bytes.Bytes>,
183  cursor: ByteBlockReader.EntryCursor,
184  bounds: Bounds & Bounds,
185  pair: Bytes.Bytes & Bytes.Bytes
186) -> IO(Step):
187  match pair:
188    case (key, check_key):
189      scan.entry.upper.checked(key, value, cursor, bounds,
190        ByteMemTable.bytes.clone(check_key))

Uses (10)

Used by (1)