package qcow-types

  1. Overview
  2. Docs
Minimal set of dependencies for qcow-stream, shared with qcow

Install

Dune Dependency

Authors

Maintainers

Sources

qcow-0.12.1.tbz
sha256=c799f3c2eda00b345d37ccd759bcd7b8be8744216b77a38883ff4cd99727ae37
sha512=2160598f460240f9580991e7f7d69e3ef83a2e6ec62268b711840d359cd303d4e14a5d65d89ceb82a6f77b434d06a01af9daa7780808a885f3307909c11dcfd8

doc/qcow-types/Qcow_metadata/index.html

Module Qcow_metadataSource

Sourcetype t

Qcow metadata: clusters containing references and clusters containing reference counts.

Sourcetype error = [
  1. | Mirage_block.error
  2. | `Msg of string
]
Sourcetype write_error = [
  1. | Mirage_block.write_error
  2. | `Msg of string
]
Sourceval make : cache:Qcow_cache.t -> cluster_bits:int -> locks:Qcow_locks.t -> unit -> t

Construct a qcow metadata structure given a set of cluster read/write/flush operations

Sourceval set_cluster_map : t -> Qcow_cluster_map.t -> unit

Set the associated cluster map (which will be updated on every cluster write)

Sourcetype contents
Sourcemodule Refcounts : sig ... end
Sourcemodule Physical : sig ... end
Sourceval erase : contents -> unit

Set the cluster contents to zeroes

Read the contents of the given cluster and provide them to the given function

Read the contents of the given cluster, transform them through the given function and write the results back to disk

OCaml

Innovation. Community. Security.