Struct FileStat
Holds general information about a file or directory.
struct FileStat
;
Fields
Name | Type | Description |
---|---|---|
creationTimestamp
|
std | File creation date/time |
isDirectory
|
bool | True if a file is a directory |
isFile
|
bool | True if a file is not a directory |
modificationTimestamp
|
std | File modification date/time |
permissions
|
int | Permissions of a file in a given filesystem. Bit combination of PRead, PWrite, PExecute |
sizeInBytes
|
ulong | File size. Valid only if isFile is true |