MCPcopy Create free account
hub / github.com/libgit2/git2go / credentials_callback

Function credentials_callback

wrapper.c:256–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256static 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
275static int transfer_progress_callback(const git_transfer_progress *stats, void *data)
276{

Callers

nothing calls this directly

Calls 2

credentialsCallbackFunction · 0.85
set_callback_errorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…