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

Method fmt

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

Source from the content-addressed store, hash-verified

37
38impl std::fmt::Display for VaultIdentity {
39 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
40 match &self.email {
41 Some(email) => write!(f, "{} <{}>", self.name, email),
42 None => write!(f, "{}", self.name),
43 }
44 }
45}
46
47impl Repository {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected