Re: File API: File's name property

On Fri, Sep 6, 2013 at 4:42 PM, Anne van Kesteren <annevk@annevk.nl> wrote:
> On Wed, Sep 4, 2013 at 11:45 PM, Glenn Maynard <glenn@zewt.org> wrote:
>> It might be better to wait until we have a filesystem API, then piggyback on
>> that...
>
> Yeah, I wondered about that. It depends on whether we want to expose
> directories or just treat a zip archive as an ordered map of
> path/resource pairs.

Actually, given that zip paths are byte sequences, that would not work
anyway. The alternative might be to always map it to code points
somehow via requiring an encoding to be specified and just deal with
the losses, but that doesn't seem general purpose enough.


-- 
http://annevankesteren.nl/

Received on Friday, 6 September 2013 17:08:52 UTC