MCPcopy
hub / github.com/urfave/cli / Less

Method Less

category.go:20–22  ·  category.go::commandCategories.Less
(i, j int)

Source from the content-addressed store, hash-verified

18}
19
20func (c *commandCategories) Less(i, j int) bool {
21 return lexicographicLess((*c)[i].Name(), (*c)[j].Name())
22}
23
24func (c *commandCategories) Len() int {
25 return len(*c)

Callers

nothing calls this directly

Calls 2

lexicographicLessFunction · 0.85
NameMethod · 0.65

Tested by

no test coverage detected