-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement package filtering as a repo method
- Moved the package filtering logic from `download` and `verify` functions into a new `search_packages` method in the `Repository` struct. - Updated `download` and `verify` functions to use the new `search_packages` method. This refactor improves code reuse and readability by centralizing the package filtering logic. Fixes #428 We already fixed this for the download function in 76a3cde. The package filtering for the verifying function was implemented in the same way but didn't fail yet. Signed-off-by: Nico Steinle <nico.steinle@eviden.com>
- Loading branch information
Showing
3 changed files
with
42 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters