MCPcopy Index your code
hub / github.com/cloudfoundry/cli / sortKeys

Function sortKeys

command/v7/env_command.go:100–107  ·  view source on GitHub ↗
(group map[string]interface{})

Source from the content-addressed store, hash-verified

98}
99
100func sortKeys(group map[string]interface{}) []string {
101 keys := make([]string, 0, len(group))
102 for key := range group {
103 keys = append(keys, key)
104 }
105 sort.Strings(keys)
106 return keys
107}
108
109func (cmd EnvCommand) displaySystem(group map[string]interface{}) error {
110 for key, val := range group {

Callers 1

displayEnvGroupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected