Re: [directory-upload] Bikeshed: getFilesAndDirectories() (#25)

We originally had something like `.getContents()`, but we figured it was not as clear as `.getFilesAndDirectories()` when we look at `HTMLInputElement` and `DataTransfer`. The goal was to have a homogeneous API across the different interfaces so it would be clear what you were getting back under any of those contexts. I would be open to naming it something else, but I feel like it should be clear what it does when it's called from `HTMLInputElement` or `DataTransfer`.

---
Reply to this email directly or view it on GitHub:
https://github.com/WICG/directory-upload/issues/25#issuecomment-173385805

Received on Wednesday, 20 January 2016 22:43:07 UTC