package mirage-block-combinators

  1. Overview
  2. Docs

Compare blocks

Parameters

module A : Mirage_block.S
module B : Mirage_block.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) Stdlib.result Lwt.t

Compare the contents of two block devices.

OCaml

Innovation. Community. Security.