|
libdonut 2.3.6
Application framework for cross-platform game development in C++20
|
Record of metadata for a specific virtual file. More...
#include <donut/File.hpp>
Public Attributes | |
| std::size_t | size |
| File size, in bytes, or NPOS if unavailable. | |
| std::int64_t | creationTime |
| Time when the file was created, in seconds since the Unix epoch (1970-01-01 00:00), or -1 if unavailable. | |
| std::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. | |
| std::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. | |
Record of metadata for a specific virtual file.
| std::int64_t donut::File::Metadata::creationTime |
Time when the file was created, in seconds since the Unix epoch (1970-01-01 00:00), or -1 if unavailable.
| std::int64_t donut::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.
| std::int64_t donut::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.
| Kind donut::File::Metadata::kind |
Kind of file, such as regular file or directory.
| bool donut::File::Metadata::readOnly |
True if the file may only be opened for reading, false if it may also be opened for writing.