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

Function smart_subtransport_callback

wrapper.c:562–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562static int smart_subtransport_callback(
563 git_smart_subtransport **out,
564 git_transport *owner,
565 void *param)
566{
567 _go_managed_smart_subtransport *subtransport = (_go_managed_smart_subtransport *)param;
568 subtransport->parent.action = smart_subtransport_action_callback;
569 subtransport->parent.close = smart_subtransport_close_callback;
570 subtransport->parent.free = smartSubtransportFreeCallback;
571
572 *out = &subtransport->parent;
573 char *error_message = NULL;
574 const int ret = smartTransportSubtransportCallback(&error_message, subtransport, owner);
575 return set_callback_error(error_message, ret);
576}
577
578int _go_git_transport_smart(
579 git_transport **out,

Callers

nothing calls this directly

Calls 2

set_callback_errorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…