MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / fmt

Method fmt

crates/openshell-server/src/certgen.rs:360–365  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

358
359impl fmt::Display for CertSan {
360 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
361 match self {
362 Self::Dns(name) => write!(f, "{name}"),
363 Self::Ip(addr) => write!(f, "{addr}"),
364 }
365 }
366}
367
368/// Layout under `<dir>`:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected