MCPcopy Create free account
hub / github.com/cli/cli / Less

Method Less

pkg/cmd/run/shared/shared.go:248–248  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

246
247func (s Steps) Len() int { return len(s) }
248func (s Steps) Less(i, j int) bool { return s[i].Number < s[j].Number }
249func (s Steps) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
250
251type Annotation struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected