BurntSushi / walkdir

Rust library for walking directories recursively.
The Unlicense
1.21k stars 106 forks source link

Option to only show files and not directories? #189

Closed ChocolateLoverRaj closed 8 months ago

ChocolateLoverRaj commented 8 months ago

I want it to only show files and not directories. How should I do that? Should I check the file type for each file? Would it increase performance to add an option to the WalkDir to only show files?

ChocolateLoverRaj commented 8 months ago

Nevermind after I restarted rust analyzer I see ways to check file type in the loop now.