It will also enumerate subdirectories.

/ Jonas
On Mar 20, 2013 8:40 PM, "Abhas Bhattacharya" <abhasbhattachar...@gmail.com>
wrote:

> > You might want to look at the device storage API:
> >
> >
> >
> > https://developer.mozilla.org/en-US/docs/WebAPI/Device_Storage_API
> >
> >
> >
> >   Gabriele
>
>
> Thanks, but can you tell me how to get also the list of sub-directories in
> a directory.
> I found out this function:
> "deviceStorage.enumerate([directory])
>     Returns a DeviceStorageCursor that enumerates Files in the storage or
> the directory (string) passed as argument"
>
> Does it return only the files within the directory or also the
> sub-directories within it?
>
> Also regarding the function: does the term storage mean the root directory
> of all the files?
> _______________________________________________
> dev-b2g mailing list
> dev-b2g@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g
>
_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to