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

Function sortedCopyStringSlice

cmd/help_json.go:555–562  ·  view source on GitHub ↗
(values []string)

Source from the content-addressed store, hash-verified

553}
554
555func sortedCopyStringSlice(values []string) []string {
556 if values == nil {
557 return []string{}
558 }
559 copied := append([]string{}, values...)
560 sort.Strings(copied)
561 return copied
562}

Callers 6

enumCommandArgFunction · 0.85
commandInputSchemaForFunction · 0.85
jsonCommandManifestForFunction · 0.85
jsonCommandFlagsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected