MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / mark_clean

Method mark_clean

block/src/qcow/vec_cache.rs:57–59  ·  view source on GitHub ↗

Mark this cache element as clean.

(&mut self)

Source from the content-addressed store, hash-verified

55
56 /// Mark this cache element as clean.
57 pub fn mark_clean(&mut self) {
58 self.dirty = false;
59 }
60
61 /// Returns the number of elements in the vector.
62 pub fn len(&self) -> usize {

Callers 4

sync_cachesMethod · 0.80
sync_cachesMethod · 0.80
flush_blocksMethod · 0.80
flush_tableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected