MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / stat

Class stat

src/openrct2/platform/Platform.Posix.cpp:237–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 {
236 uint64_t lastModified = 0;
237 struct stat statInfo{};
238 if (stat(std::string(path).c_str(), &statInfo) == 0)
239 {
240 lastModified = statInfo.st_mtime;

Callers 3

GetLastModifiedFunction · 0.70
GetFileSizeFunction · 0.70
FileGetModifiedTimeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected