MCPcopy
hub / github.com/helm/helm / pluralize

Function pluralize

pkg/cmd/require/args.go:84–89  ·  view source on GitHub ↗
(word string, n int)

Source from the content-addressed store, hash-verified

82}
83
84func pluralize(word string, n int) string {
85 if n == 1 {
86 return word
87 }
88 return word + "s"
89}

Callers 3

ExactArgsFunction · 0.85
MaximumNArgsFunction · 0.85
MinimumNArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…