MCPcopy Index your code
hub / github.com/abiosoft/ishell / Len

Method Len

command.go:139–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137type cmdSorter []*Cmd
138
139func (c cmdSorter) Len() int { return len(c) }
140func (c cmdSorter) Less(i, j int) bool { return c[i].Name < c[j].Name }
141func (c cmdSorter) Swap(i, j int) { c[i], c[j] = c[j], c[i] }

Callers 2

readPasswordErrMethod · 0.80
readLineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected