Lines Matching defs:JSONProgress
34 type JSONProgress struct { struct
35 terminalFd uintptr
36 Current int64 `json:"current,omitempty"`
37 Total int64 `json:"total,omitempty"`
38 Start int64 `json:"start,omitempty"`
40 HideCounts bool `json:"hidecounts,omitempty"`
41 Units string `json:"units,omitempty"`
42 nowFunc func() time.Time
43 winSize int
46 func (p *JSONProgress) String() string {
114 func (p *JSONProgress) now() time.Time {
124 func (p *JSONProgress) width() int {