- Make `ipfs files rm --force /nonexistant` succeed when the path does not exist.
- Add shaness test for removing nonexistant paths
- Refactor duplicated code to find a parent dir into a function
I've been writing scripts against the files api, and having to stat things before removing them is a pain. So this PR aims to make --force do what I'd expect it to.
License: MIT
Signed-off-by:
Oli Evans <oli@tableflip.io>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| 3nodetest | 正在载入提交数据... | |
| api-startup | 正在载入提交数据... | |
| bench | 正在载入提交数据... | |
| bin | 正在载入提交数据... | |
| dependencies | 正在载入提交数据... | |
| integration | 正在载入提交数据... | |
| sharness | 正在载入提交数据... | |
| unit | 正在载入提交数据... | |
| .gitignore | 正在载入提交数据... | |
| README.md | 正在载入提交数据... | |
| Rules.mk | 正在载入提交数据... | |
| ipfs-test-lib.sh | 正在载入提交数据... | |
| sharness_test_coverage_helper.sh | 正在载入提交数据... |