MCPcopy Create free account
hub / github.com/zalando/skipper / sortFlags

Function sortFlags

config/pluginflags_test.go:108–112  ·  view source on GitHub ↗
(input [][]string)

Source from the content-addressed store, hash-verified

106}
107
108func sortFlags(input [][]string) {
109 sort.SliceStable(input, func(i, j int) bool {
110 return strings.Join(input[i], ":") < strings.Join(input[j], ":")
111 })
112}

Callers 2

Test_pluginFlag_SetFunction · 0.85

Calls 1

JoinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…