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

Function plural

atomic-agent/src/provenance/types.rs:542–548  ·  view source on GitHub ↗
(n: u32)

Source from the content-addressed store, hash-verified

540}
541
542fn plural(n: u32) -> &'static str {
543 if n == 1 {
544 ""
545 } else {
546 "s"
547 }
548}
549
550fn plural_es(n: u32) -> &'static str {
551 if n == 1 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected