|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Record of metadata for a specific file. More...
#include <GREM/core/system/File.hpp>
Public Attributes | |
| size_t | size |
| File size, in bytes, or npos if unavailable. | |
| int64_t | creationTime |
| Time when the file was created, in seconds since the Unix epoch (1970-01-01 00:00), or -1 if unavailable. | |
| int64_t | lastAccessTime |
| Last time when the file was accessed, in seconds since the Unix epoch (1970-01-01 00:00), or -1 if unavailable. | |
| int64_t | lastModificationTime |
| Last time when the file was modified, in seconds since the Unix epoch (1970-01-01 00:00), or -1 if unavailable. | |
| Kind | kind |
| Kind of file, such as regular file or directory. | |
| bool | readOnly |
| True if the file may only be opened for reading, false if it may also be opened for writing or appending. | |
Record of metadata for a specific file.
| int64_t grem::File::Metadata::creationTime |
Time when the file was created, in seconds since the Unix epoch (1970-01-01 00:00), or -1 if unavailable.
| int64_t grem::File::Metadata::lastAccessTime |
Last time when the file was accessed, in seconds since the Unix epoch (1970-01-01 00:00), or -1 if unavailable.
| int64_t grem::File::Metadata::lastModificationTime |
Last time when the file was modified, in seconds since the Unix epoch (1970-01-01 00:00), or -1 if unavailable.
| bool grem::File::Metadata::readOnly |
True if the file may only be opened for reading, false if it may also be opened for writing or appending.