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

Method fmt

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

Source from the content-addressed store, hash-verified

125
126impl std::fmt::Debug for ChangeStore {
127 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
128 let cache_capacity = self.cache.read().map(|c| c.capacity).unwrap_or(0);
129 f.debug_struct("ChangeStore")
130 .field("changes_dir", &self.changes_dir)
131 .field("cache_capacity", &cache_capacity)
132 .finish()
133 }
134}
135
136fn copy_content_from_change(

Callers

nothing calls this directly

Calls 1

finishMethod · 0.45

Tested by

no test coverage detected