MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / GetElapsedTime

Method GetElapsedTime

internal/tui/app.go:2224–2229  ·  view source on GitHub ↗

GetElapsedTime returns the elapsed time since the loop started.

()

Source from the content-addressed store, hash-verified

2222
2223// GetElapsedTime returns the elapsed time since the loop started.
2224func (a *App) GetElapsedTime() time.Duration {
2225 if a.startTime.IsZero() {
2226 return 0
2227 }
2228 return time.Since(a.startTime)
2229}
2230
2231// GetCompletionPercentage returns the percentage of completed stories.
2232func (a *App) GetCompletionPercentage() float64 {

Callers 3

renderHeaderMethod · 0.95
renderNarrowHeaderMethod · 0.95
showCompletionScreenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected