ChaiLove API
0.28.0
|
Information about a file. More...
Public Member Functions | |
FileInfo () | |
Creates a basic FileInfo object, with no values set. | |
FileInfo (const std::string &theType) | |
Creates a basic FileInfo object, with the given type. | |
FileInfo (const std::string &theType, int theSize) | |
Creates a basic FileInfo object, with the type and size. | |
FileInfo (const std::string &theType, int theSize, int theModtime) | |
Creates a basic FileInfo object, with the type, size and modtime. | |
Data Fields | |
std::string | type |
The type of the object at the path (file, directory, symlink, empty, etc.). | |
int | size |
The size in bytes of the file, or -1 if it can't be determined. | |
int | modtime |
The file's last modification time in seconds since the unix epoch, or -1 if it can't be determined. | |
Information about a file.