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

Method fmt

atomic-cli/src/commands/agent/identity.rs:129–135  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

127
128impl std::fmt::Display for AgentIdentitySource {
129 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
130 f.write_str(match self {
131 AgentIdentitySource::EnvVar => "ATOMIC_AGENT_IDENTITY env var",
132 AgentIdentitySource::GlobalSetting => "global setting (~/.atomic/config.toml)",
133 AgentIdentitySource::ServerProfile => "active server profile",
134 })
135 }
136}
137
138impl AgentIdentitySource {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected