Mylsm.Bytes.snapshot.cursor.ready: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm Lines 877-889 of mylsm-lsm-store@0.6.0.1/mylsm.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&start_line=877&end_line=889 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as PackedBytes import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable import mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend as ByteRangeCursor def Bytes.snapshot.cursor.ready( snapshot_entries: List<&1, ByteMemTable.Entry>, cursor_entries: List<&1, ByteMemTable.Entry>, lower: Maybe<&1, PackedBytes.Bytes> & Maybe<&1, PackedBytes.Bytes>, bounds: ByteRangeCursor.Bounds ) -> Bytes.Snapshot & Bytes.Cursor: match lower: case (seek_lower, retained_lower): match bounds: case ByteRangeCursor.Bounds{_, upper, prefix}: (ByteSnapshot{snapshot_entries}, ByteCursor{ ByteRangeCursor.open(ByteRangeCursor.seek(cursor_entries, seek_lower)), ByteRangeCursor.Bounds{retained_lower, upper, prefix}}) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma 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/mylsm.bend&name=Bytes.Cursor https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.Snapshot https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend&name=Bounds https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend&name=open https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend&name=seek