FileSystemEntry

Members

(inner, constant) FileSystemEntryType

Properties:
Name Type Description
openFile

Open an Existing File

openWritableFile

Open an Existing File for Writing

saveFile

Open an Existing File or Save to a new one

openDirectory

Open a Directory, files can then be enumerated/created/updated

Type Definitions

ChooseEntryOptions :Object

Properties:
Name Type Description
type FileSystemEntryType

The type of dialog restrictions to apply

suggestedName String

The suggested name of the file

accepts Array.<module:FileSystemEntry~FileType>

The accepted file types.

acceptsMultiple Boolean

Whether or not the dialog will accept multiple types.

acceptsAllTypes Boolean

Whether or not to accept all types.

Directory :Object

Properties:
Name Type Description
name String
fullPath String
isDirectory Boolean
isFile Boolean
contents Array.<(module:FileSystemEntry~File|module:FileSystemEntry~Directory)>

File :Object

Properties:
Name Type Description
name String
type String
fullPath String
isFile Boolean
isDirectory Boolean
contents ArrayBuffer
size Number
lastModified Number
modificationTime Date
lastModifiedDate Date

FileType :Object

Properties:
Name Type Description
description String

The description of the file type.

mimeTypes Array.<String>

A list of accepted mime types.

extensions Array.<String>

A list of accept file extensions.