SstCursor.seek: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/SstCursor.bend as SstCursor Lines 427-436 of mylsm-lsm-store@0.6.0.1/src/scan/SstCursor.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/SstCursor.bend&start_line=427&end_line=436 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes # Advances the remaining scan to an inclusive lower byte key. def seek(cursor: Cursor, lower: Maybe<&1, Bytes.Bytes>) -> Cursor: match cursor: case Active{inner, bounds}: match bounds: case Bounds{_, upper, prefix}: Active{inner, Bounds{lower, upper, prefix}} case Ended{}: Ended{} case Closed{}: Closed{} case Failed{error}: Failed{error} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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/scan/SstCursor.bend&name=Bounds https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/SstCursor.bend&name=Cursor