| 93 | } |
| 94 | |
| 95 | int Utils::FileCmpByFileTime(const string &file1, const string &file2) { |
| 96 | uint32_t time1 = GetFileTime(file1); |
| 97 | uint32_t time2 = GetFileTime(file2); |
| 98 | if (time1 == time2) |
| 99 | return 0; |
| 100 | return time1 < time2 ? -1 : 1; |
| 101 | } |
| 102 | |
| 103 | int Utils::ReMoveFile(const string &filename) { |
| 104 | return remove(filename.c_str()); |
nothing calls this directly
no outgoing calls
no test coverage detected