ByteWal.record.put.key: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/ByteWal.bend as ByteWal Lines 235-243 of mylsm-lsm-store@0.6.0.1/src/ByteWal.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteWal.bend&start_line=235&end_line=243 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes # Replaces the placeholder key in a completed put record. def record.put.key(record: DecodedRecord, key: Bytes.Bytes) -> DecodedRecord: match record: case RecordDone{frame, offset, Put{_, value}}: RecordDone{frame, offset, Put{key, value}} case RecordDone{frame, offset, Delete{old_key}}: RecordDone{frame, offset, Delete{old_key}} case RecordError{frame, error}: RecordError{frame, error} Uses (3): https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteWal.bend&name=DecodedRecord https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteWal.bend&name=Mutation