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

@jcayzac 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:

@marcoscaceres

`file name` would be semantically wrong, I think. This can be a directory name, a file system's name, or any entry name.

This is also related to https://github.com/WICG/entries-api/issues/37

In the spirit of getting this merged first and fixing the existing issues later, I see two options for resolving this:

1. Un-export it.
2. Name it something more generic for now —how about `entry name`? It makes it less likely to be confused for `File.name`.

cc @annevk 

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

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

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