Re: [directory-upload] Easier way to get files without complicated asynchronous traversal code (#26)

> It seems like the 90% use case for this is going to be to just get all the files from a directory (as one can't do much with a directory anyway), so why don't we provide a nice method to just get a flattened list of files?

We could do that, but we'd still want to involve at least one Promise to get the flat list. The issue is that there's no way for the site to know how large the directory tree a user might drop will be, or how slow it might be to create the flattened list.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/WICG/directory-upload/issues/26#issuecomment-200079482

Received on Tuesday, 22 March 2016 23:35:22 UTC