def block.checksum.input.cloned

mylsm-lsm-store@0.6.0.1 · src/transfer/Restore.bend:243

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

243def block.checksum.input.cloned(
244  block_length: U32,
245  copies: Bytes.Bytes & Bytes.Bytes
246) -> Bool:
247  match copies:
248    case (for_length, for_hash):
249      block.checksum.sized(for_hash, block_length, Bytes.length(for_length))

Uses (7)

Used by (1)