For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Interface FileSystemDirectoryReader
interface FileSystemDirectoryReader {
readEntries(
successCallback: FileSystemEntriesCallback,
errorCallback?: ErrorCallback,
): void;
}
readEntries(
successCallback: FileSystemEntriesCallback,
errorCallback?: ErrorCallback,
): void;
}
Methods
readEntries
-
The FileSystemDirectoryReader interface's
readEntries()method retrieves the directory entries within the directory being read and delivers them in an array to a provided callback function.Parameters
- successCallback: FileSystemEntriesCallback
OptionalerrorCallback: ErrorCallback
Returns void
The
FileSystemDirectoryReaderinterface of the File and Directory Entries API lets you access the FileSystemFileEntry-based objects (generally FileSystemFileEntry or FileSystemDirectoryEntry) representing each entry in a directory.MDN Reference