mirror of
https://github.com/kopia/kopia.git
synced 2026-04-04 22:33:20 -04:00
* Update display on repository summary * Apply throughout app * Situate units_test * Update Command Line documentation * Envar cleanup * Rename to BytesString * Restore envar string available for test * Remove extraneous empty check and restore UIPreferences field for frontend * PR: config bool cleanup and missed `BaseEnv`s * Fix lint and test
This commit is contained in:
@@ -147,12 +147,12 @@ func (p *cliProgress) output(col *color.Color, msg string) {
|
||||
inProgressHashing,
|
||||
|
||||
hashedFiles,
|
||||
units.BytesStringBase10(hashedBytes),
|
||||
units.BytesString(hashedBytes),
|
||||
|
||||
cachedFiles,
|
||||
units.BytesStringBase10(cachedBytes),
|
||||
units.BytesString(cachedBytes),
|
||||
|
||||
units.BytesStringBase10(uploadedBytes),
|
||||
units.BytesString(uploadedBytes),
|
||||
)
|
||||
|
||||
if fatalErrorCount > 0 {
|
||||
@@ -177,7 +177,7 @@ func (p *cliProgress) output(col *color.Color, msg string) {
|
||||
}
|
||||
|
||||
if est, ok := p.uploadStartTime.Estimate(float64(hashedBytes+cachedBytes), float64(p.estimatedTotalBytes)); ok {
|
||||
line += fmt.Sprintf(", estimated %v", units.BytesStringBase10(p.estimatedTotalBytes))
|
||||
line += fmt.Sprintf(", estimated %v", units.BytesString(p.estimatedTotalBytes))
|
||||
line += fmt.Sprintf(" (%.1f%%)", est.PercentComplete)
|
||||
line += fmt.Sprintf(" %v left", est.Remaining)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user