Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
124
func
Pluralize(count int, singular, plural string) string {
125
if
count == 1 {
126
return
singular
127
}
128
return
plural
129
}
130
131
type
requestContext
struct
{
132
context.Context
Callers
1
FsRecursiveMove
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected