-
Notifications
You must be signed in to change notification settings - Fork 1.2k
"ipfs.get(cid, { archive: false })" ignores the archive flag #3894
Comments
I manged to solve the issue so I'm documenting it here in case anyone stumbles across a similar problem. This thread was a lot of help. As far as I understand,
What I'm doing is using the Hope this helps but also please let me know if you know a better way to approach this! |
Looks like you figured it out. Making repeated calls to Another way to do it would be to unpack the tar stream and process the contents - this is how the |
Version:
go-ipfs: 0.9.1
js-ipfs: 0.11.0
ipfs-http-client: 53.0.0
Platform:
Darwin jure.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Jun 22 19:37:08 PDT 2021; root:xnu-4903.278.70~1/RELEASE_X86_64 x86_64
Subsystem:
Get
Severity:
Medium
Description:
I would like to get a folder without it being put into a tarball. This works in the go-ipfs CLI by not applying the
-a
flag, but going through either ipfs-core or ipfs-http-client+go-ipfs, thearchive:false
flag doesn't work. Instead, I always get a tar version of the folder.Steps to reproduce the error:
The text was updated successfully, but these errors were encountered: