Skip to content
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

leaf unixfs nodes are being created with type 'file' instead of 'raw' #2331

Closed
daviddias opened this issue Feb 11, 2016 · 3 comments
Closed
Labels
kind/bug A bug in existing code (including security flaws) kind/support A question or request for support

Comments

@daviddias
Copy link
Member

I was debugging a js-ipfs go-ipfs interop issue for a while and in the end the difference was that if a file had to be chunked, my leaf data nodes would be created with type 'raw' (0 in the encoded protobuf), while go-ipfs does type 'files (2 in the encoded protobuf) for everything. Is this accurate and intended?

@daviddias daviddias added kind/bug A bug in existing code (including security flaws) kind/support A question or request for support labels Feb 11, 2016
@daviddias
Copy link
Member Author

ipfs version 0.4.0 (latest master)

@Stebalien
Copy link
Member

Status: Raw leaves are supported but still experimental. Currently, you have to request them with the --raw-leaves flag.

@daviddias
Copy link
Member Author

@Stebalien there are two things here, we have:

js-ipfs can do --raw-leaves as in Raw IPLD nodes too, the question here is why the unixfs-engine in go doesn't create RAW type unixfs protobufs for chunks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) kind/support A question or request for support
Projects
None yet
Development

No branches or pull requests

2 participants