mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 19:19:32 -05:00
ENH: Add method cmFileTimeComparison::FileTimesDiffer to check if file times differ by 1 second or more.
This commit is contained in:
@@ -40,6 +40,12 @@ public:
|
||||
*/
|
||||
bool FileTimeCompare(const char* f1, const char* f2, int* result);
|
||||
|
||||
/**
|
||||
* Compare file modification times. Return true unless both files
|
||||
* exist and have modification times less than 1 second apart.
|
||||
*/
|
||||
bool FileTimesDiffer(const char* f1, const char* f2);
|
||||
|
||||
protected:
|
||||
|
||||
cmFileTimeComparisonInternal* Internals;
|
||||
|
||||
Reference in New Issue
Block a user