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

Method Less

cf/flags/flags_usage.go:72–74  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

70}
71
72func (f flags) Less(i, j int) bool {
73 return (f[i].comparableString() < f[j].comparableString())
74}
75
76func (f flags) Swap(i, j int) {
77 f[i], f[j] = f[j], f[i]

Callers

nothing calls this directly

Calls 1

comparableStringMethod · 0.80

Tested by

no test coverage detected