File size display with human-readable units
By RepoJournal , from @bgrgndzz's public GitHub activity
Backfilled
Buğra Gündüz merged a feature to display file sizes in kilobytes, megabytes, or bytes depending on what suited each file.
The PR to debck/File-Creator-CLI added logic to check which unit fits the file size best and display it with that unit rounded to 2 decimal points [1]. The implementation went through a round of fixes to resolve issues with the initial approach [1].
One email a day. Unsubscribe in one click.
A short briefing every day bgrgndzz ships something — in about 3 minutes.
One email a day. Unsubscribe in one click. Read a past issue →
References
- [1] display file size in kb, mb or b (closes #29) (#30) debck/File-Creator-CLI