MCPcopy
hub / github.com/cli/cli / StartedTime

Method StartedTime

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

Source from the content-addressed store, hash-verified

110}
111
112func (r *Run) StartedTime() time.Time {
113 if r.StartedAt.IsZero() {
114 return r.CreatedAt
115 }
116 return r.StartedAt
117}
118
119func (r *Run) Duration(now time.Time) time.Duration {
120 endTime := r.UpdatedAt

Callers 6

runViewFunction · 0.95
DurationMethod · 0.95
getRunLogFunction · 0.80
listRunFunction · 0.80
SelectRunFunction · 0.80
renderRunFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected