dbox icon indicating copy to clipboard operation
dbox copied to clipboard

Feature: readdir

Open jstroem opened this issue 12 years ago • 3 comments

Maybe this method should be remade a bit. right now it only gives you the info of the URL in an array. I could think of a number of situations where it would make more sense to return the hole metadata object in an array so the user him self could make the filtering.

Maybe add some standard filter options as argument (only files/dir's, special files, regex of filename etc.) so it instead of readdir method it became more of an recursive search function?

What do you all think about that?

jstroem avatar Sep 15 '12 02:09 jstroem

Sounds like a good idea. I would be open to having you implement an undocumented method while we test these ideas. What do you think?

sintaxi avatar Sep 26 '12 01:09 sintaxi

I've already updated my own repo a bit: https://github.com/lindstroem/node-dbox but it is not tested..

jstroem avatar Sep 26 '12 01:09 jstroem

I need to revisit this. readdir is an important call. It needs to be good. Thanks for working on it.

sintaxi avatar Oct 11 '12 11:10 sintaxi