Struct FileInfo
Contains general information about a file.
struct FileInfo
;
Fields
Name | Type | Description |
---|---|---|
hidden
|
bool | True if the file's hidden attribute is set. |
isDirectory
|
bool | True if this is a directory or a symlink pointing to a directory |
isFile
|
bool | True if this is a file. On POSIX if both isFile and isDirectory are false it is a special file. |
isSymlink
|
bool | True if this is a symlink to an actual file |
name
|
string | Name of the file (not including the path) |
size
|
ulong | Size of the file (zero for directories) |
timeCreated
|
std | Time of creation (not available on all operating systems/file systems) |
timeModified
|
std | Time of the last modification |