| 46 | } |
| 47 | |
| 48 | bool isOnSystemDrive(const std::wstring& fileName) |
| 49 | { |
| 50 | if (!fileName.empty()) { |
| 51 | wstring systemDir = Utils::getSystemDir(); |
| 52 | if (!systemDir.empty()) { |
| 53 | return ::PathIsSameRootW(systemDir.c_str(), fileName.c_str());; |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | return false; |
| 58 | } |
| 59 | |
| 60 | bool equivalent(const std::wstring& fileName1, const std::wstring& fileName2) |
| 61 | { |
no test coverage detected