| 1164 | #endif |
| 1165 | |
| 1166 | static bool activation_entry_snapshot(const cbm_activation_transaction_t *transaction, |
| 1167 | const char *path, const char *name, bool *exists_out, |
| 1168 | activation_file_identity_t *identity_out) { |
| 1169 | #ifdef _WIN32 |
| 1170 | return activation_directory_still_valid(transaction) && |
| 1171 | activation_external_snapshot_with_owner(path, true, exists_out, identity_out); |
| 1172 | #else |
| 1173 | (void)path; |
| 1174 | return activation_posix_entry_snapshot_with_links(transaction, name, (nlink_t)1, exists_out, |
| 1175 | identity_out); |
| 1176 | #endif |
| 1177 | } |
| 1178 | |
| 1179 | static bool activation_path_matches(const cbm_activation_transaction_t *transaction, |
| 1180 | const char *path, const char *name, |
no test coverage detected