Files
disktree/crates
kevin9327 13250c0980 Show a size that rounds up to 1024 in the next unit
human_bytes steps up a unit only at 1024, but above 9.95 it prints no decimal, so anything from 1023.5 to 1024 of a unit rounded to "1024 KiB" instead of "1.0 MiB" (1,048,575 bytes, for one). human_count had the same edge at 1000: 999,999 files read "1000.0k". Both now step up where the shown number would round to the next unit.
2026-10-04 20:10:32 +09:00
..