Skip to content

Add retain method#160

Open
Rexagon wants to merge 3 commits into
maidsafe:masterfrom
Rexagon:master
Open

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

Conversation

@Rexagon

@Rexagon Rexagon commented Nov 5, 2021

Copy link
Copy Markdown

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
Copy Markdown

@bochaco @dirvine sorry, can you review this?

Comment thread src/lib.rs Outdated
@dirvine

dirvine commented Feb 13, 2022

Copy link
Copy Markdown
Member

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

@dirvine dirvine left a comment

Copy link
Copy Markdown
Member

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

Rexagon commented Apr 29, 2022

Copy link
Copy Markdown
Author

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