------------------------------------------------------------------------
| 199 | |
| 200 | //------------------------------------------------------------------------ |
| 201 | bool checkVST3Package (filesystem::path& p) |
| 202 | { |
| 203 | auto filename = p.filename (); |
| 204 | p /= "Contents"; |
| 205 | p /= architectureString; |
| 206 | p /= filename; |
| 207 | auto hFile = CreateFileW (reinterpret_cast<LPCWSTR> (p.c_str ()), GENERIC_READ, FILE_SHARE_READ, |
| 208 | nullptr, OPEN_EXISTING, 0, nullptr); |
| 209 | if (hFile != INVALID_HANDLE_VALUE) |
| 210 | { |
| 211 | CloseHandle (hFile); |
| 212 | return true; |
| 213 | } |
| 214 | return false; |
| 215 | } |
| 216 | |
| 217 | //------------------------------------------------------------------------ |
| 218 | bool isFolderSymbolicLink (const filesystem::path& p) |
no test coverage detected