Interface FileSystemFileHandle
interface FileSystemFileHandle {
kind: "file";
name: string;
createSyncAccessHandle(): Promise<FileSystemSyncAccessHandle>;
createWritable(
options?: FileSystemCreateWritableOptions,
): Promise<FileSystemWritableFileStream>;
getFile(): Promise<File>;
isSameEntry(other: FileSystemHandle): Promise<boolean>;
}
kind: "file";
name: string;
createSyncAccessHandle(): Promise<FileSystemSyncAccessHandle>;
createWritable(
options?: FileSystemCreateWritableOptions,
): Promise<FileSystemWritableFileStream>;
getFile(): Promise<File>;
isSameEntry(other: FileSystemHandle): Promise<boolean>;
}
Hierarchy
- FileSystemHandle
- FileSystemFileHandle (View Summary)
Index
Properties
Methods
Methods
createSyncAccessHandle
- createSyncAccessHandle(): Promise<FileSystemSyncAccessHandle>
Returns Promise<FileSystemSyncAccessHandle>
createWritable
- createWritable(
options?: FileSystemCreateWritableOptions,
): Promise<FileSystemWritableFileStream> Parameters
Optional
options: FileSystemCreateWritableOptions
Returns Promise<FileSystemWritableFileStream>
getFile
isSameEntry
- isSameEntry(other: FileSystemHandle): Promise<boolean>
Parameters
- other: FileSystemHandle
Returns Promise<boolean>
Available only in secure contexts.
MDN Reference