Skip to content

FileAndDirectoryEntriesAPI

Types

errorCallback

type errorCallback = WebAPI.Prelude.domException => unit

fileSystem

type fileSystem = {
name: string,
root: fileSystemDirectoryEntry,
}

Record fields

name
string

fileSystemDirectoryEntry

type fileSystemDirectoryEntry = {
isFile: bool,
isDirectory: bool,
name: string,
fullPath: string,
filesystem: fileSystem,
}

Record fields

isFile
bool
isDirectory
bool
name
string
fullPath
string

Module

There are methods and helpers defined in FileSystemDirectoryEntry .

fileSystemDirectoryReader

type fileSystemDirectoryReader = {}

Module

There are methods and helpers defined in FileSystemDirectoryReader .

fileSystemEntriesCallback

type fileSystemEntriesCallback = array<
fileSystemEntry,
> => unit

fileSystemEntry

type fileSystemEntry = {
isFile: bool,
isDirectory: bool,
name: string,
fullPath: string,
filesystem: fileSystem,
}

Record fields

isFile
bool
isDirectory
bool
name
string
fullPath
string

Module

There are methods and helpers defined in FileSystemEntry .

fileSystemEntryCallback

type fileSystemEntryCallback = fileSystemEntry => unit

fileSystemFlags

type fileSystemFlags = {
mutable create?: bool,
mutable exclusive?: bool,
}

Record fields

create
option< bool >
exclusive
option< bool >