Skip to content

Add retain method#160

Open
Rexagon wants to merge 3 commits intomaidsafe:masterfrom
Rexagon:master
Open

Add retain method#160
Rexagon wants to merge 3 commits intomaidsafe:masterfrom
Rexagon:master

Conversation

@Rexagon
Copy link

@Rexagon Rexagon commented Nov 5, 2021

In some cases you want to filter all cache entries with some function, so maybe this impl will help do it more optimally

@Rexagon Rexagon requested a review from a team November 5, 2021 18:12
@0xdeafbeef
Copy link

@bochaco @dirvine sorry, can you review this?

@dirvine
Copy link
Member

dirvine commented Feb 13, 2022

We tend to be explicit. If you don't mind can you import the whole Entry type and we are good to go. sorry, but we are pushing consistency. It's a niggle and I apologize. We can get this in today if that's OK.

dirvine
dirvine previously approved these changes Feb 13, 2022
Copy link
Member

@dirvine dirvine left a comment

Choose a reason for hiding this comment

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

LGTM Thanks very much for the effort and me being pedantic. Great stuff

@Rexagon
Copy link
Author

Rexagon commented Apr 29, 2022

Hi! Is it possible to merge this? Fixed clippy warnings just in case (though they are not related to this commit)

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.

3 participants