Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
DirectoryEntry
Interface DirectoryEntry
Hierarchy
FileSystemEntry
DirectoryEntry
Index
Construct signatures
DirectoryEntry.constructor
Properties
filesystem
fullPath
isDirectory
isFile
name
Methods
createReader
getDirectory
getFile
getMetadata
getParent
remove
removeRecursively
setMetadata
toURL
Construct signatures
constructor
(
)
:
DirectoryEntry
Returns
DirectoryEntry
Properties
public
filesystem
:
FileSystem
public
fullPath
:
string
public
isDirectory
:
boolean
public
isFile
:
boolean
public
name
:
string
Methods
public
createReader
(
)
:
DirectoryReader
Returns
DirectoryReader
public
getDirectory
(
path
:
string
, options
:
Flags
, successCallback
:
(result: DirectoryEntry) => void
, errorCallback
:
(error: FileError) => void
)
Parameters
path:
string
options:
Flags
successCallback:
(result: DirectoryEntry) => void
errorCallback:
(error: FileError) => void
public
getFile
(
path
:
string
, options
:
Flags
, successCallback
:
(result: FileEntry) => void
, errorCallback
:
(error: FileError) => void
)
Parameters
path:
string
options:
Flags
successCallback:
(result: FileEntry) => void
errorCallback:
(error: FileError) => void
public
getMetadata
(
onSuccess
?:
(arg: Metadata) => void
, onError
?:
(arg: FileError) => void
)
Parameters
onSuccess?:
(arg: Metadata) => void
optional
onError?:
(arg: FileError) => void
optional
public
getParent
(
onSuccess
?:
(arg: DirectoryEntry) => void
, onError
?:
(arg: FileError) => void
)
Parameters
onSuccess?:
(arg: DirectoryEntry) => void
optional
onError?:
(arg: FileError) => void
optional
public
remove
(
onSuccess
?:
() => void
, onError
?:
(arg: FileError) => void
)
Parameters
onSuccess?:
() => void
optional
onError?:
(arg: FileError) => void
optional
public
removeRecursively
(
successCallback
:
() => void
, errorCallback
:
(error: FileError) => void
)
Parameters
successCallback:
() => void
errorCallback:
(error: FileError) => void
public
setMetadata
(
onSuccess
?:
(arg: Metadata) => void
, onError
?:
(arg: FileError) => void
, options
?:
any
)
Parameters
onSuccess?:
(arg: Metadata) => void
optional
onError?:
(arg: FileError) => void
optional
options?:
any
optional
public
toURL
(
)
:
string
Returns
string
Globals