| 1363 | #endif |
| 1364 | |
| 1365 | static bool activation_entry_snapshot(const cbm_activation_transaction_t *transaction, |
| 1366 | const char *path, const char *name, bool *exists_out, |
| 1367 | activation_file_identity_t *identity_out) { |
| 1368 | #ifdef _WIN32 |
| 1369 | return activation_directory_still_valid(transaction) && |
| 1370 | activation_external_snapshot_with_owner(path, true, exists_out, identity_out); |
| 1371 | #else |
| 1372 | (void)path; |
| 1373 | return activation_posix_entry_snapshot_with_links(transaction, name, (nlink_t)1, exists_out, |
| 1374 | identity_out); |
| 1375 | #endif |
| 1376 | } |
| 1377 | |
| 1378 | static bool activation_path_matches(const cbm_activation_transaction_t *transaction, |
| 1379 | const char *path, const char *name, |
no test coverage detected