Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ Less
Method
Less
pkg/cmd/status/status.go:159–161 ·
view source on GitHub ↗
(i, j int)
Source
from the content-addressed store, hash-verified
157
}
158
159
func
(rs Results) Less(i, j int) bool {
160
return
rs[i].UpdatedAt.After(rs[j].UpdatedAt)
161
}
162
163
func
(rs Results) Swap(i, j int) {
164
rs[i], rs[j] = rs[j], rs[i]
Callers
2
Test_viewRun
Function · 0.45
Test_createRun
Function · 0.45
Calls
no outgoing calls
Tested by
2
Test_viewRun
Function · 0.36
Test_createRun
Function · 0.36