MCPcopy Create free account
hub / github.com/auth0/auth0-cli / FetchKeys

Function FetchKeys

internal/utils/utils.go:6–13  ·  view source on GitHub ↗

FetchKeys function to get all keys from a map.

(m map[string]V)

Source from the content-addressed store, hash-verified

4
5// FetchKeys function to get all keys from a map.
6func FetchKeys[V any](m map[string]V) []string {
7 keys := make([]string, 0, len(m))
8 for k := range m {
9 keys = append(keys, k)
10 }
11 sort.Strings(keys)
12 return keys
13}

Callers 5

aculConfigGenerateCmdFunction · 0.92
aculConfigGetCmdFunction · 0.92
aculConfigSetCmdFunction · 0.92
fetchPromptScreenInfoFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected