TotallyInformation / node-red-contrib-fs

Node-Red node template for host filing system handling
Apache License 2.0
15 stars 6 forks source link

list-folders ? #4

Closed zosky closed 4 years ago

zosky commented 6 years ago

hi. this node works great for files, but what about folders. perhaps that could be an option:

TotallyInformation commented 6 years ago

Yes, I'd love to do that. Unfortunately, I've not really had time to give any love to this. I would welcome pull requests if you fancy a challenge?

TotallyInformation commented 5 years ago

I am trying to add this feature. Unfortunately, I've hit an upstream bug in readdirp.

If depth=0 then readdirp refuses to list the folders. So this is currently on hold until that bug is fixed.

https://github.com/paulmillr/readdirp/issues/91

TotallyInformation commented 4 years ago

Still happening with readirp v3.1.3

juggledad commented 4 years ago

Working on a PR that will allow this with a dropdown to pick 'Files', 'Folders', or 'Files and Folders'

TotallyInformation commented 4 years ago

Now fixed in readirp v3.3.0 - incorporated with some other folder improvements in v1.2.0 about to be published.