Skip to content

Added generic filtering function for PathList #27

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Dec 19, 2023
Merged

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Dec 19, 2023

The new PathList.Filter() method allows to pass a generic filter function.

See arduino/arduino-cli#2464 for a usecase

@cmaglie cmaglie self-assigned this Dec 19, 2023
@cmaglie cmaglie added the type: enhancement Proposed improvement label Dec 19, 2023
Co-authored-by: Alessio Perugini <alessioper.98@gmail.com>
@cmaglie cmaglie merged commit b3ef88d into master Dec 19, 2023
@cmaglie cmaglie deleted the generic-filter branch December 19, 2023 17:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants