NativeScript
Open main menu
Docs
@nativescript/core
Open NativeScript GitHub
Close menu
Docs
@nativescript/core
Search Anything
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
@nativescript/core
FileSystemEntity
Class FileSystemEntity
Modules
File
System
Entity
constructor
_extension
_is
Known
_last
Modified
_locked
_name
_path
last
Modified
name
parent
path
remove
remove
Sync
rename
rename
Sync
Hierarchy
FileSystemEntity
Index
Constructors
constructor
Properties
_extension
_is
Known
_last
Modified
_locked
_name
_path
Accessors
last
Modified
name
parent
path
Methods
remove
remove
Sync
rename
rename
Sync
Constructors
constructor
new
File
System
Entity
(
)
:
FileSystemEntity
Returns
FileSystemEntity
Properties
_extension
_extension
:
string
_is
Known
_is
Known
:
boolean
_last
Modified
_last
Modified
:
Date
_locked
_locked
:
boolean
_name
_name
:
string
_path
_path
:
string
Accessors
last
Modified
get
(
)
:
Date
Returns
Date
name
get
(
)
:
string
Returns
string
parent
get
(
)
:
Folder
Returns
Folder
path
get
(
)
:
string
Returns
string
Methods
remove
remove
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
remove
Sync
remove
Sync
(
onError
?:
function
)
:
void
Parameters
Optional
onError:
function
(
error
:
any
)
:
any
Parameters
error:
any
Returns
any
Returns
void
rename
rename
(
newName
:
string
)
:
Promise
<
any
>
Parameters
newName:
string
Returns
Promise
<
any
>
rename
Sync
rename
Sync
(
newName
:
string
, onError
?:
function
)
:
void
Parameters
newName:
string
Optional
onError:
function
(
error
:
any
)
:
any
Parameters
error:
any
Returns
any
Returns
void
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method