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

Function mapKeys

cmd/json_contract_test.go:1284–1290  ·  view source on GitHub ↗
(values map[string]V)

Source from the content-addressed store, hash-verified

1282}
1283
1284func mapKeys[V any](values map[string]V) []string {
1285 keys := make([]string, 0, len(values))
1286 for key := range values {
1287 keys = append(keys, key)
1288 }
1289 return keys
1290}
1291
1292func structuredOutputCommandPaths(root *cobra.Command) []string {
1293 var paths []string

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected