getFile

inline suspend fun FileSystemFileHandle.getFile(): File(source)

The getFile() method of the FileSystemFileHandle interface returns a Promise which resolves to a File object representing the state on disk of the entry represented by the handle.

MDN Reference


suspend fun FileSystemDirectoryEntry.getFile(path: String? = undefined, options: FileSystemFlags = unsafeJso()): FileSystemEntry(source)

The FileSystemDirectoryEntry interface's method getFile() returns a within the directory subtree rooted at the directory on which it's called.

MDN Reference