def record.put

mylsm-lsm-store@0.6.0.1 · src/Wal.bend:149

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

149def record.put(
150  key_pair: Bytes.Bytes & U32,
151  value_pair: Bytes.Bytes & U32
152) -> Result<&1, &1, Error, Bytes.Bytes>:
153  match key_pair:
154    case (key, +key_len):
155      record.put.value(key, key_len, value_pair)

Uses (7)

Used by (2)