vifactor / repostat

Inspired by gitstats project: git repository desktop analyzer
GNU General Public License v3.0
106 stars 13 forks source link

Display occupied disk space in appropriate units #192

Closed vifactor closed 4 years ago

vifactor commented 4 years ago

Now disk size is displayed in bytes which looks for example as follows:

Total codebase
    36335397 bytes
Average file size
    22512.64 bytes

use of KB and MB would be nicer

vifactor commented 4 years ago

https://jinja.palletsprojects.com/en/2.11.x/templates/#filesizeformat

vifactor commented 4 years ago

https://stackoverflow.com/questions/38493714/how-to-sort-file-sizes-in-jquery-datatables/38494031#38494031