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

Function display_number

atomic-cli/src/commands/diagnostics/render.rs:147–152  ·  view source on GitHub ↗
(value: &Observation<u64>, suffix: &str)

Source from the content-addressed store, hash-verified

145}
146
147fn display_number(value: &Observation<u64>, suffix: &str) -> String {
148 match value {
149 Observation::Available { value } => format!("{value}{suffix}"),
150 Observation::Unavailable { reason } => format!("unknown — {reason}"),
151 }
152}
153
154fn render_integrations(o: &mut String, report: &Report) {
155 section(o, "Agent integrations (installed packages)");

Callers 1

render_repositoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected