MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / Pluralize

Function Pluralize

server/common/common.go:124–129  ·  view source on GitHub ↗
(count int, singular, plural string)

Source from the content-addressed store, hash-verified

122}
123
124func Pluralize(count int, singular, plural string) string {
125 if count == 1 {
126 return singular
127 }
128 return plural
129}
130
131type requestContext struct {
132 context.Context

Callers 1

FsRecursiveMoveFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected