mirage-block-combinators

Block signatures and implementations for MirageOS using Lwt
IN THIS PACKAGE
module Int64Map : sig ... end
type t = {
mutable map : Cstruct.t Int64Map.t;
info : Mirage_block.info;
id : string;
}
type error = Mirage_block.error
val pp_error : Mirage_block.error Fmt.t
type write_error = Mirage_block.write_error
val pp_write_error : Mirage_block.write_error Fmt.t
val devices : ( string, t ) Hashtbl.t
val get_info : t -> Mirage_block.info Lwt.t
val connect : string -> t Lwt.t
val disconnect : t -> unit Lwt.t
val read : t -> Int64Map.key -> Cstruct.t list -> ( unit, 'a ) result Lwt.t
val write : t -> Int64Map.key -> Cstruct.t list -> ( unit, 'a ) result Lwt.t