[GH-ISSUE #448] Directories greater than 1000TB do not pretty format nicely #197

Closed
opened 2026-06-08 11:26:05 +03:00 by zhus · 0 comments
Owner

Originally created by @janbridley on GitHub (Nov 7, 2024).
Original GitHub issue: https://github.com/bootandy/dust/issues/448

Directories (or subdirectories) that contain greater than one petabyte of data do not pretty format as they could. I have a simple solution (and test) for this, but do not have access to push a PR - should I fork and merge from there?

Before:

╰─➤  dust -n 1
4729T   ┌── workspace│██████████████████████████████████████████████████ │  99%
4753T ┌─┴ .          │██████████████████████████████████████████████████ │ 100%

After fix:

╰─➤  dust -n 1
4.7P   ┌── workspace│██████████████████████████████████████████████████ │  99%
4.7P ┌─┴ .          │██████████████████████████████████████████████████ │ 100%
Originally created by @janbridley on GitHub (Nov 7, 2024). Original GitHub issue: https://github.com/bootandy/dust/issues/448 Directories (or subdirectories) that contain greater than one petabyte of data do not pretty format as they could. I have a simple solution (and test) for this, but do not have access to push a PR - should I fork and merge from there? Before: ``` ╰─➤ dust -n 1 4729T ┌── workspace│██████████████████████████████████████████████████ │ 99% 4753T ┌─┴ . │██████████████████████████████████████████████████ │ 100% ``` After fix: ``` ╰─➤ dust -n 1 4.7P ┌── workspace│██████████████████████████████████████████████████ │ 99% 4.7P ┌─┴ . │██████████████████████████████████████████████████ │ 100% ```
zhus closed this issue 2026-06-08 11:26:05 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#197