Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ getSortedKeys
Function
getSortedKeys
pkg/cmd/alias/imports/import.go:184–191 ·
view source on GitHub ↗
(m map[string]string)
Source
from the content-addressed store, hash-verified
182
}
183
184
func
getSortedKeys(m
map
[string]string) []string {
185
keys := []string{}
186
for
key :=
range
m {
187
keys = append(keys, key)
188
}
189
sort.Strings(keys)
190
return
keys
191
}
Callers
1
importRun
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected