def key.copies.first

mylsm-lsm-store@0.6.0.1 · src/scan/RangeCursor.bend:182

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

182def key.copies.first(pair: Bytes.Bytes & Bytes.Bytes) -> Bytes.Bytes & Bytes.Bytes & Bytes.Bytes:
183  match pair:
184    case (original, check_key):
185      key.copies.pair(original, ByteMemTable.bytes.clone(check_key))

Uses (5)

Used by (2)