Lines Matching defs:JSONProgress
39 type JSONProgress struct { struct
40 terminalFd uintptr
41 Current int64 `json:"current,omitempty"`
42 Total int64 `json:"total,omitempty"`
43 Start int64 `json:"start,omitempty"`
45 HideCounts bool `json:"hidecounts,omitempty"`
46 Units string `json:"units,omitempty"`
47 nowFunc func() time.Time
48 winSize int
51 func (p *JSONProgress) String() string {
119 func (p *JSONProgress) now() time.Time {
129 func (p *JSONProgress) width() int {