MCPcopy Create free account
hub / github.com/codechenx/FastTableViewer / progressTracker

Struct progressTracker

io.go:18–26  ·  view source on GitHub ↗

progressTracker helps display loading progress

Source from the content-addressed store, hash-verified

16
17// progressTracker helps display loading progress
18type progressTracker struct {
19 total int64
20 current int64
21 lastUpdate time.Time
22 updateEvery int
23 lineCount int
24 showProgress bool
25 startTime time.Time
26}
27
28func newProgressTracker(total int64, showProgress bool) *progressTracker {
29 return &progressTracker{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected