This interface represents a directory on a file system.
Operations |
DirectoryReader | - createReader()
- Creates a new DirectoryReader to read Entries from this Directory.
|
void | - getDirectory(DOMString path, optional Flags options, optional EntryCallback successCallback, optional ErrorCallback errorCallback)
- Creates or looks up a directory.
|
void | - getFile(DOMString path, optional Flags options, optional EntryCallback successCallback, optional ErrorCallback errorCallback)
- Creates or looks up a file.
|
void | - removeRecursively(VoidCallback successCallback, optional ErrorCallback errorCallback)
- 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.
|