forked from dionjwa/hx.html5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
EntrySync.hx
16 lines (13 loc) · 832 Bytes
/
EntrySync.hx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
extern class EntrySync {
var isFile(default,null) : Bool;
var isDirectory(default,null) : Bool;
var name(default,null) : String;
var fullPath(default,null) : String;
var filesystem(default,null) : FileSystem;
function getMetadata( successCallback : Dynamic->Void, ?errorCallback : FileError->Void ) : Void;
function moveTo( parent : DirectoryEntrySync, ?newName : String, ?successCallback : Entry->Void, ?errorCallback : FileError->Void ) : Void;
function copyTo( parent : DirectoryEntrySync, ?newName : String, ?successCallback : Entry->Void, ?errorCallback : FileError->Void ) : Void;
function toURI( ?mimeType : String ) : Void;
function remove( successCallback : Void->Void, ?errorCallback : FileError->Void ) : Void;
function getParent( successCallbac : Entry->Void, errorCallback : FileError->Void ) : Void;
}