BurntSushi / walkdir

Rust library for walking directories recursively.
The Unlicense
1.3k stars 109 forks source link

Option to only show files and not directories? #189

Closed ChocolateLoverRaj closed 1 year ago

ChocolateLoverRaj commented 1 year 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 1 year ago

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