Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/convox/rack
/ sortKey
Method
sortKey
pkg/structs/process.go:51–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
49
}
50
51
func
(p *Process) sortKey() string {
52
return
fmt.Sprintf(
"%s-%s"
, p.Name, p.Id)
53
}
54
55
func
(ps Processes) Less(i, j int) bool {
56
return
ps[i].sortKey() < ps[j].sortKey()
Callers
1
Less
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected