Skip to content
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

Add Delete*() methods to iterator #26

Merged
merged 1 commit into from
Oct 21, 2023

Conversation

vincentbernat
Copy link
Contributor

This is useful to remove tags matching a certain criteria in the whole tree. For example, when implementing a RIB, we may want to remove tags associated with a down peer.

The tree compaction is extracted into its own function and returns an hint on how compaction was done. This hint is then used by the Delete*() functions to update the current iterator.

This is useful to remove tags matching a certain criteria in the whole
tree. For example, when implementing a RIB, we may want to remove tags
associated with a down peer.

The tree compaction is extracted into its own function and returns an
hint on how compaction was done. This hint is then used by the
`Delete*()` functions to update the current iterator.
@coveralls
Copy link

coveralls commented Sep 21, 2022

Pull Request Test Coverage Report for Build 3098829968

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 81.215%

Totals Coverage Status
Change from base Build 2834590035: 0.0%
Covered Lines: 147
Relevant Lines: 181

💛 - Coveralls

@joewilliams
Copy link

This is an old PR but I would find it very handy for our purposes as well. Please consider merging it. Thanks!

Copy link

@aaronfuj aaronfuj left a comment

Choose a reason for hiding this comment

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

Sorry for the delay!

@aaronfuj aaronfuj merged commit af4f1b0 into kentik:main Oct 21, 2023
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.

None yet

4 participants