package mirage-block-combinators

  1. Overview
  2. Docs

Module Mirage_block_combinators.CompareSource

Compare blocks

Parameters

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

Signature

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

The type for compare errors.

Sourceval pp_error : error Fmt.t

pp_error is the pretty-printer for compare errors.

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

Compare the contents of two block devices.