Skip to content

Conversation

@0xkarmacoma
Copy link

ipfs-car accepts --cidVersion <0|1> flag defaulting to 1, any other value results in an error.

When cidVersion is set to 0, we need to override rawLeaves' value to false, otherwise js-ipfs-unixfs's importer sets the codec to raw instead of dag-pb, which doesn't work with CIDv0

ipfs-car accepts --cidVersion <0|1> flag defaulting to 1, any other value results in an error.

When cidVersion is set to 0, we need to override rawLeaves' value to false, otherwise js-ipfs-unixfs's importer sets the codec to raw instead of dag-pb, which doesn't work with CIDv0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant