GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::File::Metadata Struct Reference

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.

Detailed Description

Record of metadata for a specific file.

Member Data Documentation

◆ size

size_t grem::File::Metadata::size

File size, in bytes, or npos if unavailable.

◆ creationTime

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.

◆ lastAccessTime

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.

◆ lastModificationTime

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.

◆ kind

Kind grem::File::Metadata::kind

Kind of file, such as regular file or directory.

◆ readOnly

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.


The documentation for this struct was generated from the following file: