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

@marcoscaceres : I'm sold, and I'll put in a change that resembles your proposal.

But a few things: you said that Files contain enough stat information to deduce path. That's not strictly true, actually: http://www.w3.org/TR/FileAPI/#dfn-file

File objects expose a name property, but not a path property -- name is spec'd to explicitly NOT include path information. I think they *should* and in fact I'd like to modify WICG/directory-upload#10 so that both File objects and Directory objects expose a path property, in addition to a name property.

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

Received on Monday, 28 December 2015 17:36:13 UTC