cmds/pin: add force option for pin rm#5717
Conversation
License: MIT Signed-off-by: Overbool <overbool.xu@gmail.com>
bebc8cf to
e6ea069
Compare
|
@overbool could you add a sharness test for this? |
| cat hashes | ipfs pin rm | ||
| ' | ||
|
|
||
| test_expect_success "unpin non-existent hashes with force option" ' |
There was a problem hiding this comment.
To make sure things are working right I would do
ipfs pin rm --force <invalid-hash> <valid-hash> <invalid-hash>
License: MIT Signed-off-by: Overbool <overbool.xu@gmail.com>
cd99006 to
5c39fa5
Compare
|
@kevina @schomatis Currently, we had implemented the Another question is should we deprecate |
|
I'm not sure, @magik6k might know more about that, but those issues seem more suited to be handled in another PR to avoid mixing different solutions. |
|
@magik6k Should we deprecate |
|
Sorry for the delay. Yep, we can remove |
|
I'm guessing we want #5843 in first |
Fixes: #5716
License: MIT
Signed-off-by: Overbool overbool.xu@gmail.com