-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with size calculation #25
Comments
looks fine to me, except the missing whitespace between the number and bytes. |
what troubles you? |
Not the OP here, but my $0.02:
|
oh. now I see. I'm not sure this will solve the ambiguity either. perhaps I should only print it if it's bigger than 1k |
Perhaps change "Size:" to "Human:", and drop "bytes" suffix entirely. That's how "ls -lh" seems to behave. |
@rfs613 I thing it's a good idea. I'll fix it. |
I haven't tested out vigorously but it looks like the size calculation has some problems, at least for small values.
E.g:
or
Best,
Ilker
The text was updated successfully, but these errors were encountered: