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

Method Less

pkg/cmd/status/status.go:157–159  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

155}
156
157func (rs Results) Less(i, j int) bool {
158 return rs[i].UpdatedAt.After(rs[j].UpdatedAt)
159}
160
161func (rs Results) Swap(i, j int) {
162 rs[i], rs[j] = rs[j], rs[i]

Callers 2

Test_viewRunFunction · 0.45
Test_createRunFunction · 0.45

Calls

no outgoing calls

Tested by 2

Test_viewRunFunction · 0.36
Test_createRunFunction · 0.36