| 560 | } |
| 561 | |
| 562 | static 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 | |
| 578 | int _go_git_transport_smart( |
| 579 | git_transport **out, |
nothing calls this directly
no test coverage detected
searching dependent graphs…