Le dimanche 1 novembre 2015 20:56:00 UTC+1, [email protected] a écrit : > Le dimanche 1 novembre 2015 10:45:20 UTC+1, Jovan Gerodetti a écrit : > > What he is saying is basically not true. See > > https://developer.mozilla.org/en-US/docs/Web/API/DeviceStorage/enumerate > > > > > > > > 2015-11-01 10:38 GMT+01:00 <[email protected]>: > > I recently came accross this blog post. This guy is a developer & he coded > > apps for fxos. He is stating that device storage api is problematic. Read > > the article here > > www.firefoxoscentral.com/2015/10/meet-the-devs-developer-interview-tfe-server/ > > > > _______________________________________________ > > > > dev-fxos mailing list > > > > [email protected] > > > > https://lists.mozilla.org/listinfo/dev-fxos > > Hi all, > > Sorry for not posting in this forum before, i didn't knew the existence of > this forum before this post :). > > So i was talking about the enumerate call. > Maybe it is a bug with the implementation of my FOS version: > > > So the calling mysdcard.enumerate('/') > should return an enumeration of all files and accounts in the root > directory, am i right? > > Strange things is that when i call it with '/', '/faildirectory', > ['/test_with_arrays'], it always return a cursor with all the files and > directories, without any filter of the path. > > Let me know if i am doing something wrong (surely). > > Thanks for all your work, > > -- > tfe
Had to mention too, that i gived up with my tries to use the enumerate with path calls, when i saw how it was not used by the "most used" file manager on firefoxos: https://github.com/elfoxero/file-manager/search?utf8=%E2%9C%93&q=enumerate Basically it think he is thinking the same as me: that there is no way get files/directories of only one directory, so he is caching all the result. _______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

