Skip to content

FileAndDirectoryEntries

Types

errorCallback

type errorCallback = DOM.domException => unit

fileSystem

type fileSystem = BaseFileAndDirectoryEntries.fileSystem

Record fields

name
string

fileSystemDirectoryEntry

type fileSystemDirectoryEntry = BaseFileAndDirectoryEntries.fileSystemDirectoryEntry

Record fields

isFile
bool
isDirectory
bool
name
string
fullPath
string

fileSystemDirectoryReader

type fileSystemDirectoryReader = private {}

fileSystemEntriesCallback

type fileSystemEntriesCallback = array<
fileSystemEntry,
> => unit

fileSystemEntry

type fileSystemEntry = BaseFileAndDirectoryEntries.fileSystemEntry

Record fields

isFile
bool
isDirectory
bool
name
string
fullPath
string

fileSystemEntryCallback

type fileSystemEntryCallback = fileSystemEntry => unit

fileSystemFlags

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

Record fields

create
option< bool >
exclusive
option< bool >