this commit changes the behavior of ipfs add -w:
- it makes it able to work with ipfs add -r <dir>
- instead of hacking around the add, we simply just add a wrapper
directory around the whole result of the add. this means that
ipfs add -w calls will output _two_ lines, but this is actually
more correct than outputting one line, as two objects were added.
this _may_ break scripts out there which expect the output to
look a certain way. we should consider whether the old output is
more _useful_ (even if less in-line with the model.)
License: MIT
Signed-off-by:
Juan Batiz-Benet <juan@benet.ai>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| 3nodetest | 正在载入提交数据... | |
| api-startup | 正在载入提交数据... | |
| bench | 正在载入提交数据... | |
| bin | 正在载入提交数据... | |
| dependencies | 正在载入提交数据... | |
| integration | 正在载入提交数据... | |
| jenkins | 正在载入提交数据... | |
| sharness | 正在载入提交数据... | |
| supernode_client | 正在载入提交数据... | |
| .gitignore | 正在载入提交数据... | |
| Makefile | 正在载入提交数据... | |
| README.md | 正在载入提交数据... | |
| ipfs-test-lib.sh | 正在载入提交数据... |