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

Function normalizeStringSliceMap

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

Source from the content-addressed store, hash-verified

1265}
1266
1267func normalizeStringSliceMap(values map[string][]string) map[string][]string {
1268 normalized := make(map[string][]string, len(values))
1269 for key, value := range values {
1270 normalized[key] = sortedCopy(value)
1271 }
1272 return normalized
1273}
1274
1275func sortedCopy(values []string) []string {
1276 if values == nil {

Callers 3

jsonContractDefinitionsFunction · 0.85
normalizeGoldenContractFunction · 0.85

Calls 1

sortedCopyFunction · 0.70

Tested by

no test coverage detected