| 254 | } |
| 255 | |
| 256 | static int credentials_callback( |
| 257 | git_credential **cred, |
| 258 | const char *url, |
| 259 | const char *username_from_url, |
| 260 | unsigned int allowed_types, |
| 261 | void *data) |
| 262 | { |
| 263 | char *error_message = NULL; |
| 264 | const int ret = credentialsCallback( |
| 265 | &error_message, |
| 266 | cred, |
| 267 | (char *)url, |
| 268 | (char *)username_from_url, |
| 269 | allowed_types, |
| 270 | data |
| 271 | ); |
| 272 | return set_callback_error(error_message, ret); |
| 273 | } |
| 274 | |
| 275 | static int transfer_progress_callback(const git_transfer_progress *stats, void *data) |
| 276 | { |
nothing calls this directly
no test coverage detected
searching dependent graphs…