()
| 168 | type hookByWeight []*release.Hook |
| 169 | |
| 170 | func (x hookByWeight) Len() int { return len(x) } |
| 171 | func (x hookByWeight) Swap(i, j int) { x[i], x[j] = x[j], x[i] } |
| 172 | func (x hookByWeight) Less(i, j int) bool { |
| 173 | if x[i].Weight == x[j].Weight { |
no outgoing calls