-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ls: Report real file size #5906
Conversation
329a35b
to
34ab008
Compare
So, what if we made this the default? That is:
(issue for discussion: ipfs-inactive/interface-js-ipfs-core#427) |
7e6b597
to
c4d041a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good but I'm concerned with backwards compatibility. I expect that using actual file sizes will reduce confusion and actually fix bugs however, we should probably print something for directory sizes to avoid breaking column-based parsing.
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
d2db1e5
to
3b5c071
Compare
Need this for ipfs/go-ipfs-http-client#1 to implement fast
api.Unixfs().Get()
.