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

Add support for packing car files with CIDv0 #141

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

karmacoma-eth
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