Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commands/add: return an error when using --only-hash and --to-files
In that situation, the data is not written to permanent storage, so a reference in MFS would be to p2p blocks at best. The /add command in that situation is also likely to hang as it reads immediately the root node without being able to get it (it falls back to bitswap).
- Loading branch information