Interface: OpfsFileHandle
Minimal subset of the File System AccessOpfsFileHandle interface that this module touches at runtime. Structurally compatible with the DOM-lib OpfsFileHandle — at call sites you pass real OPFS handles directly.
Properties
| Property | Modifier | Type |
|---|---|---|
kind | readonly | "file" |
name | readonly | string |
Methods
createWritable()
ts
createWritable(): Promise<OpfsWritableFileStream>;Returns
Promise<OpfsWritableFileStream>
getFile()
ts
getFile(): Promise<OpfsFile>;Returns
Promise<OpfsFile>