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

Method fmt

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

Source from the content-addressed store, hash-verified

692
693impl fmt::Display for Attestation {
694 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
695 writeln!(
696 f,
697 "Attestation — {} · {} · {} tokens ({} cached) · {} API",
698 self.agent.display_name,
699 self.cost_display(),
700 format_tokens(self.used_tokens()),
701 format_tokens(self.cache_tokens()),
702 self.api_duration_display(),
703 )?;
704 for model in &self.models {
705 writeln!(f, " {}", model)?;
706 }
707 writeln!(
708 f,
709 " {} covered · +{} -{} lines",
710 self.change_count(),
711 self.code_changes.lines_added,
712 self.code_changes.lines_removed,
713 )?;
714 Ok(())
715 }
716}
717
718// AttestAgent

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected