-
Notifications
You must be signed in to change notification settings - Fork 21
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
Make delete idempotent #30
Comments
hrm... I was against this until you threw my weakness at me. I love making things idempotent... |
I think we should fix what every in #27 that causes delete to not return the correct value. I am against returning less information than we know. At the specification level I would say that a datastore should have an option of not returning |
Moving to: ipfs/go-datastore#104 |
Currently, delete on a non-existent key returns
ErrNotFound
. However, this isn't really all that useful. Additionally,The text was updated successfully, but these errors were encountered: