Re: [w3c/FileAPI] Fold File and Directory Entries API into File API (PR #222)

@jcayzac commented on this pull request.



> +A <dfn export>relative path</dfn> is a string consisting of one or more
+[=path segments=] joined by '/' (U+002F SOLIDUS) that does not start
+with '/' (U+002F SOLIDUS).
+
+An <dfn export>absolute path</dfn> is a string consisting of '/' (U+002F
+SOLIDUS) followed by zero or more [=path segments=] joined by '/'
+(U+002F SOLIDUS).
+
+A <dfn export>path</dfn> is either a [=relative path=] or an [=absolute
+path=].
+
+A <dfn export>valid path</dfn> is a {{USVString}} which is a [=path=].
+
+## Files and directories ## {#files-dirs}
+
+A <dfn export id=file-concept>file</dfn> consists of binary data and a <dfn

`#dfn-file` is already taken by the `{{File}}` interface (via the legacy _Translate Ids_ mapping), so without an explicit id it collides.

Also related to https://github.com/WICG/entries-api/issues/37

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/pull/222#discussion_r4639291865
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/FileAPI/pull/222/review/5988529392@github.com>

Received on Friday, 20 November 2026 06:39:11 UTC