def u32.clone.pair.results

mylsm-lsm-store@0.6.0.1 · src/scan/Snapshot.bend:215

import mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend as Snapshot
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

215def u32.clone.pair.results(
216  results: (Bytes.Bytes & Maybe<&2, U32>) & (Bytes.Bytes & Maybe<&2, U32>)
217) -> U32 & U32:
218  match results:
219    case ((_, Some{first}), (_, Some{second})): (first, second)
220    case _: (0, 0)

Uses (5)

Used by (1)