Module Mirage_block_copy.Sparse_copy

Parameters

module Dest : B.S

Signature

module B = Mirage_block
type error = [
| `Different_sizes
| `Is_read_only
| `A of From.error
| `B of Dest.write_error
]
val pp_error : Stdlib.Format.formatter -> [< `A of From.error | `B of Dest.write_error | `Different_sizes | `Is_read_only ] -> unit
val v : src:From.t -> dst:Dest.t -> ( unit, [> `A of From.error | `B of Dest.write_error | `Different_sizes ] ) Stdlib.result Lwt.t