Classes
FileSystemEntity
Represents a single entity on the file system.
Summary
Constructors
constructor
new FileSystemEntity(): FileSystemEntity
Returns FileSystemEntity
Properties
lastModified
Gets the Date object specifying the last time this entity was modified.
name
Gets the name of the entity.
parent
parent: Folder
Gets the Folder object representing the parent of this entity.
Will be null for a root folder like Documents or Temporary.
This property is readonly.
path
Gets the fully-qualified path (including the extension for a File) of the entity.
Methods
remove
Removes (deletes) the current Entity from the file system.
Returns Promise<any>
removeSync
Removes (deletes) the current Entity from the file system synchronously.
Returns void
rename
Renames the current entity using the specified name.
Returns Promise<any>
renameSync
Renames the current entity synchronously, using the specified name.
Returns void
- Previous
- File
- Next
- FlexboxLayout