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

Function FileGetModifiedTime

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

Source from the content-addressed store, hash-verified

410
411 #ifndef __ANDROID__
412 time_t FileGetModifiedTime(u8string_view path)
413 {
414 struct stat buf;
415 if (stat(u8string(path).c_str(), &buf) == 0)
416 {
417 return buf.st_mtime;
418 }
419 return 100;
420 }
421 #endif
422
423 datetime64 GetDatetimeNowUTC()

Callers 1

PopulateListMethod · 0.50

Calls 1

statClass · 0.70

Tested by

no test coverage detected