MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / fmt

Method fmt

atomic-repository/src/changestore/mod.rs:159–165  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

157
158impl std::fmt::Debug for ChangeStore {
159 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
160 let cache_capacity = self.cache.read().map(|c| c.capacity).unwrap_or(0);
161 f.debug_struct("ChangeStore")
162 .field("changes_dir", &self.changes_dir)
163 .field("cache_capacity", &cache_capacity)
164 .finish()
165 }
166}
167
168fn copy_content_from_change(

Callers

nothing calls this directly

Calls 3

fieldMethod · 0.80
readMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected