| 1376 | } |
| 1377 | |
| 1378 | static bool activation_path_matches(const cbm_activation_transaction_t *transaction, |
| 1379 | const char *path, const char *name, |
| 1380 | const activation_file_identity_t *expected, bool *exists_out) { |
| 1381 | activation_file_identity_t actual; |
| 1382 | bool exists = false; |
| 1383 | if (!activation_entry_snapshot(transaction, path, name, &exists, &actual)) { |
| 1384 | return false; |
| 1385 | } |
| 1386 | *exists_out = exists; |
| 1387 | return !exists || activation_identity_equal(&actual, expected); |
| 1388 | } |
| 1389 | |
| 1390 | static bool activation_sync_directory(const cbm_activation_transaction_t *transaction) { |
| 1391 | #ifdef _WIN32 |
no test coverage detected