ReadonlykindThe kind read-only property of the FileSystemHandle interface returns the type of entry. This is 'file' if the associated entry is a file or 'directory'. It is used to distinguish files from directories when iterating over the contents of a directory.
ReadonlynameThe name read-only property of the FileSystemHandle interface returns the name of the entry represented by handle.
The getDirectoryHandle() method of the FileSystemDirectoryHandle interface returns a FileSystemDirectoryHandle for a subdirectory with the specified name within the directory handle on which the method is called.
Optionaloptions: FileSystemGetDirectoryOptionsThe getFileHandle() method of the FileSystemDirectoryHandle interface returns a FileSystemFileHandle for a file with the specified name, within the directory the method is called.
Optionaloptions: FileSystemGetFileOptionsThe isSameEntry() method of the FileSystemHandle interface compares two handles to see if the associated entries (either a file or directory) match.
The removeEntry() method of the FileSystemDirectoryHandle interface attempts to remove an entry if the directory handle contains a file or directory called the name specified.
Optionaloptions: FileSystemRemoveOptionsThe resolve() method of the FileSystemDirectoryHandle interface returns an Array of directory names from the parent handle to the specified child entry, with the name of the child entry as the last array item.
The
FileSystemDirectoryHandleinterface of the File System API provides a handle to a file system directory. Available only in secure contexts.MDN Reference