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

Adding support for recursive file filtering without including empty directories. #32

Open
ursi opened this issue Aug 25, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ursi
Copy link

ursi commented Aug 25, 2022

I came up with an approach to fix the empty directory problem. I wanted to make you aware of it in case you'd be able to use it to improve the UX.
NixOS/nixpkgs#188301.

@ursi ursi added the enhancement New feature or request label Aug 25, 2022
@zimbatm
Copy link
Member

zimbatm commented Aug 26, 2022

thanks. It looks like a similar idea as #9 (comment)
where the algorithm first traverses the filesystem using builtins.readDir, and then applies the filtered result to builtins.path. It's a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants