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

dir+utf8: Add helpers to get sorted filenames #53

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

cgwalters
Copy link
Member

@cgwalters cgwalters commented Jul 11, 2024

It somewhat often occurs that one wants to get
all filenames in a directory and sort them (possibly
filtering the names first).

There are a bunch of new default helpers that
end up calling a general filenames_filtered_sorted_by.

Signed-off-by: Colin Walters [email protected]

src/dirext.rs Outdated Show resolved Hide resolved
It somewhat often occurs that one wants to get
all filenames in a directory and sort them (possibly
filtering the names first).

There are a bunch of new default helpers that
end up calling a general `filenames_filtered_sorted_by`.

Signed-off-by: Colin Walters <[email protected]>
@cgwalters cgwalters merged commit 4c49d64 into coreos:main Jul 12, 2024
6 checks passed
@cgwalters cgwalters changed the title dir+utf8: Add filenames and filenames_filtered dir+utf8: Add helpers to get sorted filenames Jul 12, 2024
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.

2 participants