Skip to content

Add 'delete' to PersistentCache #147

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

Merged
merged 1 commit into from
Oct 20, 2020
Merged

Conversation

yim-lee
Copy link
Contributor

@yim-lee yim-lee commented Oct 19, 2020

Motivation:
It would be nice to be able to delete a key from a PersistentCache.

Modifications:

  • Add delete to PersistentCacheProtocol and implementation SQLiteBackedPersistentCache
  • Update test

Result:
We can delete from PersistentCache.

Motivation:
It would be nice to be able to delete a key from a `PersistentCache`.

Modifications:
- Add `delete` to `PersistentCacheProtocol` and implementation `SQLiteBackedPersistentCache`
- Update test

Result:
We can delete from `PersistentCache`.
@tomerd
Copy link
Contributor

tomerd commented Oct 19, 2020

@swift-ci please test

Copy link
Contributor

@tomerd tomerd left a comment

Choose a reason for hiding this comment

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

LGTM

@tomerd
Copy link
Contributor

tomerd commented Oct 19, 2020

@swift-ci smoke-test

Copy link
Contributor

@abertelrud abertelrud left a comment

Choose a reason for hiding this comment

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

Looks good to me as well. Thanks!

@abertelrud abertelrud merged commit ec27377 into swiftlang:main Oct 20, 2020
@yim-lee yim-lee deleted the cache-delete branch October 20, 2020 00:28
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.

4 participants