FileEntry

Special type for files as entries in directories. Analogue of the 'dirent' structure type.

Constructors

this
this(string filepath)

Creates an instance of a class from an existing file by its path.

Members

Functions

getFileStat
FileStat getFileStat()

Returns information about the properties of the file.

isLinkToDir
bool isLinkToDir()

Checks if the file is a symbolic link to a directory. The check is recursive (if the link points to a link).

Variables

fileno
ulong fileno;

Inode serial number.

path
string path;

Path to file.

type
FileType type;

UNIX file type. See: enum FileType.

Meta