dbox
dbox copied to clipboard
Feature: readdir
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?
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?
I've already updated my own repo a bit: https://github.com/lindstroem/node-dbox but it is not tested..
I need to revisit this. readdir
is an important call. It needs to be good. Thanks for working on it.