BlockRoutePolicy.advance: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/BlockRoutePolicy.bend as BlockRoutePolicy Lines 47-51 of mylsm-lsm-store@0.6.0.1/src/scan/BlockRoutePolicy.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/BlockRoutePolicy.bend&start_line=47&end_line=51 import Base # Advances the interval and candidate after one separator comparison. def advance(state: Search, direction: Move, mid: Nat) -> Search: match direction: case SearchLower{}: advance.lower(state, mid) case SearchUpper{}: advance.upper(state, mid) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/BlockRoutePolicy.bend&name=Move https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/BlockRoutePolicy.bend&name=Search https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/BlockRoutePolicy.bend&name=advance.lower https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/BlockRoutePolicy.bend&name=advance.upper