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

Function format_count

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

Source from the content-addressed store, hash-verified

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

Callers 1

print_summaryMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected