Skip to content

Add support for packing car files with CIDv0#141

Open
0xkarmacoma wants to merge 1 commit into
storacha:mainfrom
0xkarmacoma:cidv0-support
Open

Add support for packing car files with CIDv0#141
0xkarmacoma wants to merge 1 commit into
storacha:mainfrom
0xkarmacoma:cidv0-support

Conversation

@0xkarmacoma

Copy link
Copy Markdown

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