MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / FileTime

Function FileTime

engine/Poseidon/IO/PackFiles.cpp:36–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34using Poseidon::Foundation::QSort;
35
36static int FileTime(const char* name)
37{
38 struct stat buf;
39 memset(&buf, 0, sizeof(buf));
40 LocalPath(fn, name);
41 if (stat(fn, &buf) < 0)
42 {
43 return -1;
44 }
45 return buf.st_mtime;
46}
47
48static RString CanonicalBankEntryName(const char* name)
49{

Callers 1

CreateMethod · 0.85

Calls 1

statClass · 0.70

Tested by

no test coverage detected