* Get a file's modification date. */
| 71 | * Get a file's modification date. |
| 72 | */ |
| 73 | time_t getFileModDate(const char* fileName) |
| 74 | { |
| 75 | struct stat sb; |
| 76 | |
| 77 | if (stat(fileName, &sb) < 0) |
| 78 | return (time_t) -1; |
| 79 | |
| 80 | return sb.st_mtime; |
| 81 | } |
| 82 | |
| 83 | }; // namespace android |
no test coverage detected