mirage-block-combinators

Block signatures and implementations for MirageOS using Lwt
IN THIS PACKAGE

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 ) result Lwt.t

Compare the contents of two block devices.