Methods
Static
fromData
- fromData(entryData): FileEntry
-
- fromData(entryData): DirectoryEntry
-
Parameters
-
entryData: DirectoryEntryData
- fromData(entryData): Entry
-
Returns Entry
Static
isDirectory
- isDirectory(entry): entry is DirectoryEntry
-
- isDirectory(entry): entry is DirectoryEntryData
-
Returns entry is DirectoryEntryData
Static
isEntry
- isEntry(entry): entry is Entry
-
Returns entry is Entry
Static
isFile
- isFile(entry): entry is FileEntry
-
- isFile(entry): entry is FileEntryData
-
Returns entry is FileEntryData
A base class for entries. This class is not meant to be used directly, but rather to be extended by other classes.
This class provides static methods for checking whether an entry is a file or a directory, and for creating an entry from entry data.