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

Method fmt

atomic-remote/src/sync.rs:250–264  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

248
249impl fmt::Display for RemoteState {
250 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
251 write!(
252 f,
253 "RemoteState({}, {} entries, last={})",
254 if self.remote_name.is_empty() {
255 "<unnamed>"
256 } else {
257 &self.remote_name
258 },
259 self.entries.len(),
260 self.last_sequence
261 .map(|s| s.to_string())
262 .unwrap_or_else(|| "none".to_string()),
263 )
264 }
265}
266
267// Remote Delta

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected