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

Function format_count

atomic-cli/src/commands/agent/attest.rs:650–656  ·  view source on GitHub ↗
(n: usize, word: &str)

Source from the content-addressed store, hash-verified

648}
649
650fn format_count(n: usize, word: &str) -> String {
651 if n == 1 {
652 format!("{} {}", n, word)
653 } else {
654 format!("{} {}s", n, word)
655 }
656}
657
658// Tests
659

Callers 1

print_summaryMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected