// progress returns bytes read as well as the size.
// Size can be <= 0 if the size is unknown.
progress returns bytes read as well as the size.
Size can be <= 0 if the size is unknown.
// progress returns bytes read as well as the size . // Size can be < = 0 if the size is unknown .
func (acc *Account) progress() (bytes, size int64) {
	if acc == nil {
		return 0, 0
	}
	acc.statmu.Lock()
	bytes, size = acc.bytes, acc.size
	acc.statmu.Unlock()
	return bytes, size
}
func ( acc * Account ) progress ( ) ( bytes , size int64 ) { if acc == nil { return 0 , 0 } acc . statmu . Lock ( ) bytes , size = acc . bytes , acc . size acc . statmu . Unlock ( ) return bytes , size }
progress returns bytes read as well as the size.
progress returns bytes read as well as the size .