The FileSystemDirectoryEntry interface of the File and Directory Entries API represents a directory in a file system. It provides methods which make it possible to access and manipulate the files in a directory, as well as to access the entries within the directory.

Documentation FileSystemDirectoryEntry by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:


getDirectory(?path:String, ?options:Null<FileSystemFlags>, ?successCallback:FileSystemEntry ‑> Void, ?errorCallback:DOMException ‑> Void):Void

getDirectory(?path:String, ?options:Null<FileSystemFlags>, ?successCallback:Function, ?errorCallback:Function):Void

getDirectory(?path:String, ?options:Null<FileSystemFlags>, ?successCallback:Null<FileSystemEntryCallback>, ?errorCallback:Null<ErrorCallback>):Void

getFile(?path:String, ?options:Null<FileSystemFlags>, ?successCallback:FileSystemEntry ‑> Void, ?errorCallback:DOMException ‑> Void):Void

getFile(?path:String, ?options:Null<FileSystemFlags>, ?successCallback:Function, ?errorCallback:Function):Void

getFile(?path:String, ?options:Null<FileSystemFlags>, ?successCallback:Null<FileSystemEntryCallback>, ?errorCallback:Null<ErrorCallback>):Void

Inherited Variables

Defined by FileSystemEntry

read onlyfilesystem:FileSystem

A FileSystem object representing the file system in which the entry is located.

read onlyfullPath:String

A USVString object which provides the full, absolute path from the file system's root to the entry; it can also be thought of as a path which is relative to the root directory, prepended with a "/" character.

read onlyisDirectory:Bool

A Boolean which is true if the entry represents a directory; otherwise, it's false.

read onlyisFile:Bool

A Boolean which is true if the entry represents a file. If it's not a file, this value is false.

read onlyname:String

A USVString containing the name of the entry (the final part of the path, after the last "/" character).

Inherited Methods

Defined by FileSystemEntry

getParent(?successCallback:FileSystemEntry ‑> Void, ?errorCallback:DOMException ‑> Void):Void

getParent(?successCallback:Function, ?errorCallback:Function):Void

getParent(?successCallback:Null<FileSystemEntryCallback>, ?errorCallback:Null<ErrorCallback>):Void