-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a --force
flag to pin rm
to ignore nonexistent pins and avoid bailing out
#5716
Comments
In the original implementation, |
I think unpin should be modified to continue to remove all valid pins. It should by default print an error on the invalid hash but continue anyway and then at the end print an error that not all pins can be removed at the end. If force is given it should ignore non-existent blocks but continue anyway and not return an error. In other words, the only think
|
Yes, exactly. I didn't express myself correctly, I meant that the |
--force
flag to pin rm
to ignore nonexistent pins and avoid Error: not pinned
--force
flag to pin rm
to ignore nonexistent pins and avoid bailing out
@schomatis what I am saying is that |
So, forcing without a
That way:
We also need to involve the JS people. It looks like there was already a discussion here: https://github.com/ipfs/interface-ipfs-core/issues/127. |
Let's move the discussion to https://github.com/ipfs/interface-ipfs-core/issues/127#issuecomment-456561650. |
No description provided.
The text was updated successfully, but these errors were encountered: