getDirectory method
The getDirectory()
method of the StorageManager interface is used
to obtain a reference to a FileSystemDirectoryHandle object allowing
access to a directory and its contents, stored in the
origin private file system
(OPFS).
Implementation
external JSPromise<FileSystemDirectoryHandle> getDirectory();