StatsCodec.cursor.step: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/StatsCodec.bend as StatsCodec Lines 154-167 of mylsm-lsm-store@0.6.0.1/src/coordinator/StatsCodec.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/StatsCodec.bend&start_line=154&end_line=167 import Base def cursor.step( entries: Nat, payload_bytes: Nat, snapshots: Nat, retained_bytes: Nat, cursors: Nat, scalar: U32, is_digit: Bool ) -> State: match is_digit: case True{}: CursorDigits{entries, payload_bytes, snapshots, retained_bytes, Nat.add(Nat.mul(cursors, 10n), digit.value(scalar)), True{}} case False{}: Invalid{} 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=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/StatsCodec.bend&name=State https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/StatsCodec.bend&name=digit.value