MCPcopy Create free account
hub / github.com/codehamr/codehamr / liveElapsed

Function liveElapsed

internal/tui/format.go:33–42  ·  view source on GitHub ↗

liveElapsed renders a running wall-clock duration for the status bar: whole seconds under a minute (no sub-second decimal spinning at the spinner's refresh rate), then `6m 51s` / `1h 14m`. The lower unit is always two digits and round values are NOT collapsed (`8m 00s`, not `8m`), so the readout nev

(d time.Duration)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestLiveElapsedFunction · 0.85
renderStatusBarMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestLiveElapsedFunction · 0.68