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

Struct LoadProgress

init.go:53–57  ·  view source on GitHub ↗

Track if last key pressed was 'g' for gg navigation LoadProgress tracks loading progress

Source from the content-addressed store, hash-verified

51
52// LoadProgress tracks loading progress
53type LoadProgress struct {
54 TotalBytes int64
55 LoadedBytes int64
56 IsComplete bool
57}
58
59// GetPercentage returns the loading percentage (0-100)
60func (lp *LoadProgress) GetPercentage() float64 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected