You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In general the feature set seems to be very usable, but to make it actually usable for me, I need to have exact bytesizes to get processed by another script.
So is there an option that actually always lists bytes?
The text was updated successfully, but these errors were encountered:
I was able to do this in a very ugly fashion by changing impl fmt::Display for FileSize to display bytes instead of human-readable output in all cases. Unless I'm missing something, there's no way to check state while respecting the Display trait, so this wouldn't work in general.
However, the impl for Debug already displays raw bytes as desired, so displaying bytes conditionally should be as simple as
adding a flag -b or similar to display raw bytes rather than human-readable format
using format!("{:?}", size) (which invokes Debug instead of Display) in a bunch of places, conditioned on the presence of -b.
I'm trying to do this on my own fork, though the resulting code is not very elegant right now.
In general the feature set seems to be very usable, but to make it actually usable for me, I need to have exact bytesizes to get processed by another script.
So is there an option that actually always lists bytes?
The text was updated successfully, but these errors were encountered: