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

Function normalizeGoldenCommandSchema

cmd/json_contract_test.go:1260–1265  ·  view source on GitHub ↗
(schema jsonGoldenCommandSchema)

Source from the content-addressed store, hash-verified

1258}
1259
1260func normalizeGoldenCommandSchema(schema jsonGoldenCommandSchema) jsonGoldenCommandSchema {
1261 schema.Statuses = sortedCopy(schema.Statuses)
1262 schema.Kinds = sortedCopy(schema.Kinds)
1263 schema.Warnings = sortedCopy(schema.Warnings)
1264 return schema
1265}
1266
1267func normalizeStringSliceMap(values map[string][]string) map[string][]string {
1268 normalized := make(map[string][]string, len(values))

Callers 3

operationSchemaFunction · 0.85
normalizeGoldenContractFunction · 0.85

Calls 1

sortedCopyFunction · 0.70

Tested by

no test coverage detected