MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / drop

Method drop

easy-fs/src/block_cache.rs:72–74  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

70
71impl Drop for BlockCache {
72 fn drop(&mut self) {
73 self.sync()
74 }
75}
76
77const BLOCK_CACHE_SIZE: usize = 16;

Callers

nothing calls this directly

Calls 1

syncMethod · 0.80

Tested by

no test coverage detected