-
Notifications
You must be signed in to change notification settings - Fork 37
Make consistent with go #25
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
Conversation
ipfs-inactive/js-ipfs-unixfs-engine#213 should be merged along with this PR. |
yay... bug for bug compatibility |
@diasdavid @alanshaw Any objections to merging this? |
@achingbrain are there interop tests so that this doesn't bite us again? |
@diasdavid I'm adding a whole bunch to the ipfs/interop repo. |
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.
LGTM
These |
Go:
$ touch emptyfile $ ipfs add emptyfile added QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH emptyfile $ ipfs object data QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH | xxd 00000000: 0802 1800
Without this PR:
$ jsipfs add emptyfile added QmfJMCvenrj4SKKRc48DYPxwVdS44qCUCqqtbqhJuSTWXP emptyfile $ jsipfs object data QmfJMCvenrj4SKKRc48DYPxwVdS44qCUCqqtbqhJuSTWXP | xxd 00000000: 0802 1200 ....
With this PR:
$ jsipfs add emptyfile added QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH emptyfile $ jsipfs object data QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH | xxd 00000000: 0802 1800