package qcow-types
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Minimal set of dependencies for qcow-stream, shared with qcow
Install
dune-project
Dependency
Authors
Maintainers
Sources
qcow-0.15.0.tbz
sha256=da9c7d259e2d7067b7eccd3fecbed79bf339af7bac223766451a5f3d5303e32b
sha512=629bafa73a69b460a521eb7aa46a3ca5b0aa29445df49eaecdac3f2cfca78684ba7d5db1b20b0af731e3830561d77d844983ee51f0eff17c4fa8941023920e8f
doc/qcow-types/Qcow_cache/index.html
Module Qcow_cacheSource
A cache of clusters
Source
val create :
read_cluster:
(Qcow_types.Cluster.t -> (Cstruct.t, Mirage_block.error) result Lwt.t) ->
write_cluster:
(Qcow_types.Cluster.t ->
Cstruct.t ->
(unit, Mirage_block.write_error) result Lwt.t) ->
?seekable:bool ->
unit ->
tCreate a cache of clusters, given the read/write functions
read t cluster returns the data in cluster
Source
val write :
t ->
Qcow_types.Cluster.t ->
Cstruct.t ->
(unit, Mirage_block.write_error) result Lwt.twrite t cluster data writes data to cluster
remove t cluster drops any cache associated with cluster
resize t new_size_clusters drops any cache entries which are beyond the new file size.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>