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

@annevk commented on this pull request.



> @@ -260,6 +266,179 @@ up to but not including the <var>end</var> parameter. It must act as follows:
 
 </div>
 
+## Names and paths ## {#names-paths}
+
+A <dfn export>name</dfn> is a string which:
+
+  * does not contain '/' (U+002F SOLIDUS)
+  * does not contain NUL (U+0000)
+  * does not contain '\' (U+005C REVERSE SOLIDUS)
+  * is not '.' (U+002E FULL STOP)
+  * is not '..' (U+002E FULL STOP, U+002E FULL STOP)
+
+A <dfn export>path segment</dfn> is a [=/name=], '.' (U+002E FULL STOP) or

It might be better to not export this for now, unless we really need it to be exported.

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

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

Received on Sunday, 23 August 2026 07:46:39 UTC