Change file size units to IEC 80000-13:2025 (binary multiples) (#2062)
* Change file size units from SI to IEC 80000-13:2025 Increase left-padded (%S) file size string length to 5 characters Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com> * Add note about used IEC units for file size in docs --------- Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com>
This commit is contained in:
1 parent
d60acef469
commit
23b30ae1ee
10 files changed
+90
-56
No files matched your search
+1
-1
@@ -19,5 +19,5 @@ func diskFree(wd string) string {
|
||||
log.Printf("diskfree: %s", err)
|
||||
return ""
|
||||
}
|
||||
return "df: " + humanize(int64(free))
|
||||
return "df: " + humanize(free)
|
||||
}
|
||||
Reference in new issue
Block a user