Skip to content

Conversation

@achingbrain
Copy link
Member

@achingbrain achingbrain commented Apr 30, 2021

It should not leak datastore keys, instead return the cids you deleted.

Lets us not depend on ipfs-repo or interface-datastore in the types of
ipfs-blockstore, then ipld, then ipfs-http-client.

It should not leak datastore keys, instead return the cid you deleted.

Lets us not depend on ipfs-repo or interface-datastore in the types of
ipfs-blockstore, then ipld, then ipfs-http-client.
Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
This should be breaking change right?

@achingbrain achingbrain changed the title fix: return type of blockstore deleteMany should be the cids you deleted fix: return type of deleteMany should be the cids you deleted May 1, 2021
@achingbrain achingbrain merged commit 7760066 into master May 1, 2021
@achingbrain achingbrain deleted the fix/blockstore-delete-many-return-cids branch May 1, 2021 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants