mirror of
https://github.com/kopia/kopia.git
synced 2026-05-14 01:37:07 -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:
@@ -48,7 +48,7 @@ func (c *commandContentStats) run(ctx context.Context, rep repo.DirectRepository
|
||||
return errors.Wrap(err, "error calculating totals")
|
||||
}
|
||||
|
||||
sizeToString := units.BytesStringBase10
|
||||
sizeToString := units.BytesString
|
||||
if c.raw {
|
||||
sizeToString = func(l int64) string {
|
||||
return strconv.FormatInt(l, 10) //nolint:gomnd
|
||||
|
||||
Reference in New Issue
Block a user