Ende.DirEntry

interface

interface Ende.DirEntry

Information about a directory entry returned from Ende.readDir and Ende.readDirSync.

Properties

name

name: string

The file name of the entry. It is just the entity name and does not include the full path.

isFile

isFile: boolean

True if this is info for a regular file. Mutually exclusive to DirEntry.isDirectory and DirEntry.isSymlink.

isDirectory

isDirectory: boolean

True if this is info for a regular directory. Mutually exclusive to DirEntry.isFile and DirEntry.isSymlink.

isSymlink: boolean

True if this is info for a symlink. Mutually exclusive to DirEntry.isFile and DirEntry.isDirectory.