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

Method fmt

atomic-repository/src/history/types.rs:189–198  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

187
188impl fmt::Display for HistoryEntry {
189 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
190 write!(
191 f,
192 "#{} {} (state: {}{})",
193 self.sequence,
194 self.hash.to_base32(),
195 &self.state.to_base32()[..8],
196 if self.is_tagged { " [tagged]" } else { "" }
197 )
198 }
199}
200
201// History Options

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected