MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / plural

Function plural

crates/openshell-tui/src/app.rs:728–730  ·  view source on GitHub ↗
(count: usize)

Source from the content-addressed store, hash-verified

726}
727
728fn plural(count: usize) -> &'static str {
729 if count == 1 { "" } else { "s" }
730}
731
732fn refresh_strategy_label(strategy: i32) -> &'static str {
733 match openshell_core::proto::ProviderCredentialRefreshStrategy::try_from(strategy)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected