CursorOpenCodec.range.finish.exact: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/CursorOpenCodec.bend as CursorOpenCodec Lines 240-251 of mylsm-lsm-store@0.6.0.1/src/coordinator/CursorOpenCodec.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/CursorOpenCodec.bend&start_line=240&end_line=251 import Base import mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend as RangeCursor import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes # Rejects trailing bytes or returns the decoded range cursor request. def range.finish.exact( exact: Bool, snapshot_id: U32, lower: Maybe<&1, Bytes.Bytes>, upper: Maybe<&1, Bytes.Bytes> ) -> Decision: match exact: case True{}: Decoded{Request{snapshot_id, RangeCursor.Bounds{lower, upper, None{}}}} case False{}: Malformed{} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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/coordinator/CursorOpenCodec.bend&name=Decision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/CursorOpenCodec.bend&name=Request https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend&name=Bounds