sintaxi / dbox

NodeJS SDK for Dropbox API (THIS LIBRARY IS OBSOLETE!!)
514 stars 91 forks source link

Feature: readdir #46

Open jstroem opened 11 years ago

jstroem commented 11 years ago

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?

sintaxi commented 11 years ago

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?

jstroem commented 11 years ago

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

sintaxi commented 11 years ago

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