Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ StartedTime
Method
StartedTime
pkg/cmd/run/shared/shared.go:114–119 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
112
}
113
114
func
(r *Run) StartedTime() time.Time {
115
if
r.StartedAt.IsZero() {
116
return
r.CreatedAt
117
}
118
return
r.StartedAt
119
}
120
121
func
(r *Run) Duration(now time.Time) time.Duration {
122
endTime := r.UpdatedAt
Callers
6
runView
Function · 0.95
Duration
Method · 0.95
getRunLog
Function · 0.80
listRun
Function · 0.80
SelectRun
Function · 0.80
renderRun
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected