def put
import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as ByteDurableDbimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
2059# Writes a raw byte key and value after subtracting the SST value it shadows.
2060def put(handle: Handle, key: Bytes.Bytes, value: Bytes.Bytes) -> IO(Handle & Result<&1, &1, Error, Unit>):
2061 match handle:
2062 case Handle{path, lock, table, state, base_stats}:
2063 put.keyed(path, lock, table, state, base_stats, put.keys(key), value)