(i, j int)
| 73 | // https://golang.org/pkg/sort/#Interface |
| 74 | func (r Remotes) Len() int { return len(r) } |
| 75 | func (r Remotes) Swap(i, j int) { r[i], r[j] = r[j], r[i] } |
| 76 | func (r Remotes) Less(i, j int) bool { |
| 77 | return remoteNameSortScore(r[i].Name) > remoteNameSortScore(r[j].Name) |
| 78 | } |
nothing calls this directly
no outgoing calls
no test coverage detected