This interface represents a directory on a file system.
The file system on which the entry resides.
The full absolute path from the root to the entry.
EntrySync is a directory.
EntrySync is a file.
The name of the entry, excluding the path leading to it.
Copy an entry to a different location on the file system. It is an error to try to:
Creates a new DirectoryReaderSync to read EntrySyncs from this DirectorySync.
Creates or looks up a directory.
Either an absolute path or a relative path from this DirectoryEntrySync to the directory to be looked up or created. It is an error to attempt to create a directory whose immediate parent does not yet exist.
<ul>
<li> If create and exclusive are both true and the path already exists, getDirectory must fail.</li>
<li> If create is true, the path doesn't exist, and no other error occurs, getDirectory must create and return a corresponding DirectoryEntry.</li>
<li> If create is not true and the path doesn't exist, getDirectory must fail.</li>
<li> If create is not true and the path exists, but is a file, getDirectory must fail.</li>
<li> Otherwise, if no other error occurs, getDirectory must return a DirectoryEntrySync corresponding to path.</li>
</ul>
Creates or looks up a directory.
Either an absolute path or a relative path from this DirectoryEntrySync to the file to be looked up or created. It is an error to attempt to create a file whose immediate parent does not yet exist.
<ul>
<li> If create and exclusive are both true and the path already exists, getFile must fail.</li>
<li> If create is true, the path doesn't exist, and no other error occurs, getFile must create it as a zero-length file and return a corresponding FileEntry.</li>
<li> If create is not true and the path doesn't exist, getFile must fail.</li>
<li> If create is not true and the path exists, but is a directory, getFile must fail.</li>
<li> Otherwise, if no other error occurs, getFile must return a FileEntrySync corresponding to path.</li>
</ul>
Look up metadata about this entry.
Look up the parent DirectoryEntrySync containing this Entry. If this EntrySync is the root of its filesystem, its parent is itself.
Move an entry to a different location on the file system. It is an error to try to:
The directory to which to move the entry.
The new name of the entry. Defaults to the EntrySync's current name if unspecified.
Deletes a file or directory. It is an error to attempt to delete a directory that is not empty. It is an error to attempt to delete the root directory of a filesystem.
Deletes a directory and all of its contents, if any. In the event of an error [e.g. trying to delete a directory that contains a file that cannot be removed], some of the contents of the directory may be deleted. It is an error to attempt to delete the root directory of a filesystem.
Returns a URL that can be used to identify this entry. Unlike the URN defined in [FILE-API-ED], it has no specific expiration; as it describes a location on disk, it should be valid at least as long as that location exists.
string