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

(feature request) Ability to filter based on file metadata (e.g. created_after, modified_after, etc) #33

Open
jaymakes11 opened this issue Feb 2, 2023 · 0 comments

Comments

@jaymakes11
Copy link

First, love the API and speed of this library. Thank you!

I was using https://github.com/ParthJadhav/Rust_Search previously... believe it or not, from my testing globwalk is actually faster (didn't do any thorough benchmarking or anything but for my specific usecase I'm seeing that it's faster. And moreover, its API doesn't support glob for multiple file extensions.

One thing Rust_Search does have that I'm missing in globwalk is the ability to filter against file metadata. This was added here to Rust_Search.

Would it be possible to add something similar to globwalk?


Update: Just saw filter_map... perhaps it could be used for this? If so, some example code would be super helpful (I'm a total Rust newbie).

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

No branches or pull requests

1 participant