package qcow
-
qcow
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t = {
discard : bool;
true if `discard` will be enabled at runtime
*)compact_after_unmaps : int64 option;
automatically compact after n sectors are unmapped
*)}
Runtime configuration of a device
val create : ?discard:bool -> ?compact_after_unmaps:int64 -> unit -> t
create ?discard ?compact_after_unmaps ()
constructs a runtime configuration
val to_string : t -> string
Marshal a config into a string suitable for a command-line argument
val of_string : string -> [ `Ok of t | `Error of [ `Msg of string ] ]
Parse the result of a previous to_string
invocation