| 1221 | #endif |
| 1222 | |
| 1223 | static bool activation_entry_snapshot(const cbm_activation_transaction_t *transaction, |
| 1224 | const char *path, const char *name, bool *exists_out, |
| 1225 | activation_file_identity_t *identity_out) { |
| 1226 | #ifdef _WIN32 |
| 1227 | return activation_directory_still_valid(transaction) && |
| 1228 | activation_external_snapshot_with_owner(path, true, exists_out, identity_out); |
| 1229 | #else |
| 1230 | (void)path; |
| 1231 | return activation_posix_entry_snapshot_with_links(transaction, name, (nlink_t)1, exists_out, |
| 1232 | identity_out); |
| 1233 | #endif |
| 1234 | } |
| 1235 | |
| 1236 | static bool activation_path_matches(const cbm_activation_transaction_t *transaction, |
| 1237 | const char *path, const char *name, |
no test coverage detected