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

Method Len

pkg/cmd/run/shared/shared.go:247–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

245type Steps []Step
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected