package vhd-format

  1. Overview
  2. Docs
type 'a t = {
  1. filename : string;
  2. rw : bool;
  3. handle : 'a;
  4. header : Header.t;
  5. footer : Footer.t;
  6. parent : 'a t option;
  7. bat : BAT.t;
  8. batmap : (Batmap_header.t * Batmap.t) option;
  9. bitmap_cache : Bitmap_cache.t;
}
val resize : 'a t -> int64 -> 'a t

resize t new_size changes the current virtual size of t to new_size. Note that new_size must be less than or equal to the original size of the vhd -- otherwise there wouldn't be enough room for the on-disk structures.

val check_overlapping_blocks : 'a t -> unit
module Field : sig ... end