package mirage-block-lwt

  1. Overview
  2. Docs

Compare blocks

Parameters

module A : S
module B : S

Signature

type error = [
  1. | `A of A.error
  2. | `B of B.error
]

The type for compare errors.

val pp_error : error Fmt.t

pp_error is the pretty-printer for compare errors.

val v : A.t -> B.t -> (int, error) Result.result Lwt.t

Compare the contents of two block devices.

OCaml

Innovation. Community. Security.