-
Notifications
You must be signed in to change notification settings - Fork 58
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
Not pinned or pinned indirectly #102
Comments
This library, I assume you are using Can you show the code you are using and the stack trace. |
I'm using the Go client. IPFS Desktop more directly.
So, it looks like calling ListAsync, returns indirect pins first, which throw the error message, then once it reaches the direct pins is able to delete them, which then cascades to the indirect pins. Removing them "solving" the issue. And yes, you're correct, ipfs-core is different than ipfs-http-client, I apologize for posting in the wrong project. |
What is the code ListLocalPackagesAsync about? Why not just use ipfs.Pin.ListAsync? |
After retrieving the local pins (via ListAsync), trying to iterate through and remove (via Pin.RemoveAsync), I'm receiving an error message
"not pinned or pinned indirectly"
Doing a tad bit of research, there seemed to be some conversation about how to handle pinning with regard to direct, recursive, and indirect pins...I trust that this library handles iterative removal? Am I approaching this the wrong way?
The text was updated successfully, but these errors were encountered: