| 1030 | } |
| 1031 | |
| 1032 | S32 CompareModifiedTimes(const Path& p1, const Path& p2) |
| 1033 | { |
| 1034 | FileNode::Attributes a1, a2; |
| 1035 | if (!Torque::FS::GetFileAttributes(p1, &a1)) |
| 1036 | return -1; |
| 1037 | if (!Torque::FS::GetFileAttributes(p2, &a2)) |
| 1038 | return -1; |
| 1039 | if (a1.mtime < a2.mtime) |
| 1040 | return -1; |
| 1041 | if (a1.mtime == a2.mtime) |
| 1042 | return 0; |
| 1043 | return 1; |
| 1044 | } |
| 1045 | |
| 1046 | FileNodeRef GetFileNode(const Path &path) |
| 1047 | { |
no test coverage detected