package vhd-format

  1. Overview
  2. Docs
val openfile : ?path:string list -> string -> bool -> File.fd Vhd.t File.t
val close : File.fd Vhd.t -> unit File.t
val create_dynamic : filename:string -> size:int64 -> ?uuid:Uuidm.t -> ?saved_state:bool -> ?features:Feature.t list -> unit -> File.fd Vhd.t File.t
val create_difference : filename:string -> parent:File.fd Vhd.t -> ?uuid:Uuidm.t -> ?saved_state:bool -> ?features:Feature.t list -> unit -> File.fd Vhd.t File.t
val get_sector_location : File.fd Vhd.t -> int64 -> (File.fd Vhd.t * int64) option File.t
val read_sector : File.fd Vhd.t -> int64 -> Cstruct.t option File.t
val write_sector : File.fd Vhd.t -> int64 -> Cstruct.t -> unit File.t
OCaml

Innovation. Community. Security.