Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
112
func
(r *Run) StartedTime() time.Time {
113
if
r.StartedAt.IsZero() {
114
return
r.CreatedAt
115
}
116
return
r.StartedAt
117
}
118
119
func
(r *Run) Duration(now time.Time) time.Duration {
120
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