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

Function memory

atomic-cli/src/commands/git/rolling_dashboard.rs:80–84  ·  view source on GitHub ↗
(bytes: Option<u64>)

Source from the content-addressed store, hash-verified

78}
79
80fn memory(bytes: Option<u64>) -> String {
81 bytes
82 .map(|value| format!("{:.1} MiB", value as f64 / 1_048_576.0))
83 .unwrap_or_else(|| "unavailable".into())
84}
85
86const HISTORY_SAMPLES: usize = 120;
87

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected