Module

Web.FileAndDirectoryEntries

Package
purescript-web-file-directory-entries
Repository
xc-jp/purescript-web-file-directory-entries

The File and Directory Entries API WICG Draft Report

See package README for usage examples.

#FileSystemFileEntry Source

data FileSystemFileEntry :: Type

WebKit FileSystemFileEntry. Represents a file in a file system.

#FileSystemDirectoryEntry Source

data FileSystemDirectoryEntry :: Type

WebKit FileSystemDirectoryEntry. Represents a directory in a file system.

#getEntries Source

#getFile Source

getFile :: FileSystemFileEntry -> Aff File

Returns a File object which can be used to read data from the file represented by the directory entry. This must be asynchronous because getFile() is asynchronous.

#readDirectory Source

#directoryPath Source

directoryPath :: FileSystemDirectoryEntry -> String

A USVString object which provides the full, absolute path from the file system's root to the entry.

#filePath Source

filePath :: FileSystemFileEntry -> String

A USVString object which provides the full, absolute path from the file system's root to the entry.