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

Function searchLimitReached

cmd/search.go:161–163  ·  view source on GitHub ↗
(entries []files.IsMetadata, limit uint64)

Source from the content-addressed store, hash-verified

159}
160
161func searchLimitReached(entries []files.IsMetadata, limit uint64) bool {
162 return limit > 0 && uint64(len(entries)) >= limit
163}
164
165func renderSearchOutput(cmd *cobra.Command, query, scope string, entries []files.IsMetadata, opts searchCommandOptions) error {
166 out := commandOutput(cmd)

Callers 2

searchFunction · 0.85
appendSearchMatchesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected