class js.html.fs.Entry

Available on js

DRAFT
This page is not complete.

The Entry interface of the FileSystem API represents entries in a file system. The entries can be a file or a DirectoryEntry.



Documentation for this class was provided by MDN.

Instance Fields

var filesystem:FileSystem

The file system on which the entry resides.

var isDirectory:Bool

The entry is a directory.

var isFile:Bool

The entry is a file.

var name:String

The name of the entry, excluding the path leading to it.

function copyTo(parent:DirectoryEntry, ?name:String, ?successCallback:EntryCallback, ?errorCallback:ErrorCallback):Void

function getMetadata(successCallback:MetadataCallback, ?errorCallback:ErrorCallback):Void

function getParent(?successCallback:EntryCallback, ?errorCallback:ErrorCallback):Void

function moveTo(parent:DirectoryEntry, ?name:String, ?successCallback:EntryCallback, ?errorCallback:ErrorCallback):Void

function remove(successCallback:VoidCallback, ?errorCallback:ErrorCallback):Void

function toURL():String