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

Function file_counts

atomic-cli/src/commands/diagnostics/render.rs:208–221  ·  view source on GitHub ↗
(files: &FileCounts)

Source from the content-addressed store, hash-verified

206}
207
208fn file_counts(files: &FileCounts) -> String {
209 let mut parts = vec![format!("{} recorded", files.recorded)];
210 for (count, label) in [
211 (files.present, "unchanged"),
212 (files.modified, "modified"),
213 (files.missing, "missing"),
214 (files.unreadable, "unreadable"),
215 ] {
216 if count > 0 {
217 parts.push(format!("{count} {label}"));
218 }
219 }
220 parts.join(", ")
221}
222
223fn render_skills(o: &mut String, report: &Report) {
224 section(o, "Skills");

Callers 1

render_integrationsFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected