paulmillr / readdirp

Recursive version of fs.readdir with streaming api.
https://paulmillr.com
MIT License
381 stars 51 forks source link

readdirp depth issue #91

Closed jazkh closed 4 years ago

jazkh commented 5 years ago

By default readdirp does depth: 1 If I change this to depth: 0 then readdirp does not show the sub-directory name. I don't want to list sub-directory files but only sub-directories name. How can I achieve this?

TotallyInformation commented 4 years ago

I also have this issue. depth=0 ignores the top-level folders.

TotallyInformation commented 4 years ago

Still happening with v3.1.3

ronag commented 4 years ago

@TotallyInformation Is this still an issue?

TotallyInformation commented 4 years ago

Yes, I'm afraid so. unless there is another update beyond 3.1.3 that I haven't tested.

I haven't tested with v3.2.0 as yet however.

TotallyInformation commented 4 years ago

Appears to be fixed in v3.3.0 so can probably be closed now.