svenstaro/miniserve

[feature request] Show exact byte size of files in some way

oldherl opened this issue · 5 comments

Currently only the "human readable" size of files is shown in the listing, e.g. 2.0 GB
However sometimes I want to know the exact byte size (e.g. 2000111222 bytes) of the file.

Would like to see the exact byte size as a hovering tooltip, or replace the human readable sizes with the exact size on some command line switches.

Sounds like a good idea. Would you like to try to implement it?

I have no experience with Rust, but I might be able to do that when I have some time to spare. Don't expect any time soon, though.

is that what you want? @oldherl
image
image
image

is that what you want? @oldherl

Yes. Is that your fork?

is that what you want? @oldherl

Yes. Is that your fork?

yes, I'm about to submit a PR.