Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ getSortedKeys
Function
getSortedKeys
pkg/cmd/alias/imports/import.go:194–201 ·
view source on GitHub ↗
(m map[string]string)
Source
from the content-addressed store, hash-verified
192
}
193
194
func
getSortedKeys(m
map
[string]string) []string {
195
keys := []string{}
196
for
key :=
range
m {
197
keys = append(keys, key)
198
}
199
sort.Strings(keys)
200
return
keys
201
}
Callers
1
importRun
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected