ipfs / ipfs/kubo

Archive size wrong

Open
#5,690 5 comments 0 reactions 0 assignees View on GitHub
exp/wizard kind/bug
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

When running `ipfs get --archive`, the expected size in the progress bar is wrong:

```bash
> ipfs get --archive /ipfs/QmPwecoMB9jN9DosznNqcApK63PnrEmMduxp1mn5nqS7Pq
Saving archive to QmPwecoMB9jN9DosznNqcApK63PnrEmMduxp1mn5nqS7Pq.tar
68.00 KiB / 49.63 KiB [=====================================] 137.02% 0s
```

That is, the output file is *actually* 68KiB, 49.63 is the total size one would get when running `ipfs get` without `--archive`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.