ByteRange.in_range.copies: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend as ByteRange Lines 69-77 of mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend&start_line=69&end_line=77 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes # Checks a byte key against optional [lower, upper) bounds. def in_range.copies( copies: Bytes.Bytes & Bytes.Bytes, lower_bound: Maybe<&1, Bytes.Bytes>, upper_bound: Maybe<&1, Bytes.Bytes> ) -> Bool: match copies: case (lower_key, upper_key): in_range.checked(lower(lower_key, lower_bound), upper(upper_key, upper_bound)) Uses (8): 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=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma 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/ByteRange.bend&name=in_range.checked https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend&name=lower https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend&name=upper