MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / compareModifiedTimes

Method compareModifiedTimes

Engine/source/platform/platform.cpp:133–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133S32 Platform::compareModifiedTimes( const char *firstPath, const char *secondPath )
134{
135 FileTime firstModTime;
136 if ( !getFileTimes( firstPath, NULL, &firstModTime ) ) {
137 //The reason we failed to get file times could be cause it is in a zip. Lets check.
138 return Torque::FS::CompareModifiedTimes(firstPath, secondPath);
139 }
140
141 FileTime secondModTime;
142 if ( !getFileTimes( secondPath, NULL, &secondModTime ) )
143 return -1;
144
145 return compareFileTimes( firstModTime, secondModTime );
146}
147
148bool Platform::getWebDeployment()
149{

Callers

nothing calls this directly

Calls 1

CompareModifiedTimesFunction · 0.85

Tested by

no test coverage detected