MCPcopy Create free account
hub / github.com/dropbox/dbxcli / validSearchOrderBy

Function validSearchOrderBy

cmd/search.go:131–138  ·  view source on GitHub ↗
(orderBy string)

Source from the content-addressed store, hash-verified

129}
130
131func validSearchOrderBy(orderBy string) bool {
132 switch orderBy {
133 case "", "relevance", "modified":
134 return true
135 default:
136 return false
137 }
138}
139
140func searchOrderBy(orderBy string) *files.SearchOrderBy {
141 switch orderBy {

Callers 1

parseSearchOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected