| 1234 | } |
| 1235 | |
| 1236 | static bool activation_path_matches(const cbm_activation_transaction_t *transaction, |
| 1237 | const char *path, const char *name, |
| 1238 | const activation_file_identity_t *expected, bool *exists_out) { |
| 1239 | activation_file_identity_t actual; |
| 1240 | bool exists = false; |
| 1241 | if (!activation_entry_snapshot(transaction, path, name, &exists, &actual)) { |
| 1242 | return false; |
| 1243 | } |
| 1244 | *exists_out = exists; |
| 1245 | return !exists || activation_identity_equal(&actual, expected); |
| 1246 | } |
| 1247 | |
| 1248 | static bool activation_sync_directory(const cbm_activation_transaction_t *transaction) { |
| 1249 | #ifdef _WIN32 |
no test coverage detected