Re: [directory-upload] It isn't clear whether Directory.path should include the name of the directory itself (#10)

@aliams: I'm now thinking *both* Directory and File objects should expose a path property *and* a name property.

It's true that Directory objects may contain enough stat information (and the web developer can write programs with enough state information about stage of iteration) for path to be deduced, but that's not true of Files, especially if we expose a File flattening function according to WICG/directory-upload#26

In general, this is incredibly convenient and I think it's weird to exclude it. Comments?

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

Received on Monday, 28 December 2015 17:39:29 UTC