Skip to content

FileSystemFileHandle

Values

asFileSystemHandle

let asFileSystemHandle: WebAPI.FileAPI.fileSystemFileHandle => WebAPI.FileAPI.fileSystemHandle

createWritable

let createWritable: (
WebAPI.FileAPI.fileSystemFileHandle,
~options: WebAPI.FileAPI.fileSystemCreateWritableOptions=?,
) => Promise.t<WebAPI.FileAPI.fileSystemWritableFileStream>

getFile

let getFile: WebAPI.FileAPI.fileSystemFileHandle => Promise.t<
WebAPI.FileAPI.file,
>

Parameters

WebAPI.FileAPI.fileSystemFileHandle

Return type

Promise.t< WebAPI.FileAPI.file >

isSameEntry

let isSameEntry: (
WebAPI.FileAPI.fileSystemFileHandle,
WebAPI.FileAPI.fileSystemHandle,
) => Promise.t<bool>

Parameters

WebAPI.FileAPI.fileSystemFileHandle WebAPI.FileAPI.fileSystemHandle

Return type

Promise.t< bool >