Skip to content

FileSystemDirectoryHandle

Values

asFileSystemHandle

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

getDirectoryHandle

let getDirectoryHandle: (
WebAPI.FileAPI.fileSystemDirectoryHandle,
~name: string,
~options: WebAPI.FileAPI.fileSystemGetDirectoryOptions=?,
) => Promise.t<WebAPI.FileAPI.fileSystemDirectoryHandle>

getFileHandle

let getFileHandle: (
WebAPI.FileAPI.fileSystemDirectoryHandle,
~name: string,
~options: WebAPI.FileAPI.fileSystemGetFileOptions=?,
) => Promise.t<WebAPI.FileAPI.fileSystemFileHandle>

isSameEntry

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

removeEntry

let removeEntry: (
WebAPI.FileAPI.fileSystemDirectoryHandle,
~name: string,
~options: WebAPI.FileAPI.fileSystemRemoveOptions=?,
) => Promise.t<unit>

Parameters

WebAPI.FileAPI.fileSystemDirectoryHandle string option< WebAPI.FileAPI.fileSystemRemoveOptions >

Return type

Promise.t< unit >

resolve

let resolve: (
WebAPI.FileAPI.fileSystemDirectoryHandle,
WebAPI.FileAPI.fileSystemHandle,
) => Promise.t<array<string>>

Parameters

WebAPI.FileAPI.fileSystemDirectoryHandle WebAPI.FileAPI.fileSystemHandle

Return type

Promise.t< array< string > >