Module Mirage_block_combinators.Compare

Compare blocks

Parameters

module A : Mirage_block.S
module B : Mirage_block.S

Signature

type error = [
| `A of A.error
| `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.