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

Added generic filtering function for PathList #27

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
list.go Outdated Show resolved Hide resolved
list.go Outdated Show resolved Hide resolved
Co-authored-by: Alessio Perugini <alessioper.98@gmail.com>
@cmaglie cmaglie merged commit b3ef88d into master Dec 19, 2023
7 checks passed
@cmaglie cmaglie deleted the generic-filter branch December 19, 2023 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants