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

Method fmt

atomic-core/src/change/attestation.rs:319–340  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

317
318impl fmt::Display for Attestation {
319 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
320 writeln!(
321 f,
322 "Attestation — {} · {} · {} tokens ({} cached) · {} API",
323 self.agent.display_name,
324 self.cost_display(),
325 format_tokens(self.used_tokens()),
326 format_tokens(self.cache_tokens()),
327 self.api_duration_display(),
328 )?;
329 for model in &self.models {
330 writeln!(f, " {}", model)?;
331 }
332 writeln!(
333 f,
334 " {} covered · +{} -{} lines",
335 self.change_count(),
336 self.code_changes.lines_added,
337 self.code_changes.lines_removed,
338 )?;
339 Ok(())
340 }
341}
342
343// AttestAgent

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected