package mirage-block-lwt

  1. Overview
  2. Docs

Module Mirage_block_lwt.CompareSource

Compare blocks

Parameters

module A : S
module B : 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.