(copts *C.git_fetch_options)
| 995 | } |
| 996 | |
| 997 | func freeFetchOptions(copts *C.git_fetch_options) { |
| 998 | if copts == nil { |
| 999 | return |
| 1000 | } |
| 1001 | freeStrarray(&copts.custom_headers) |
| 1002 | untrackCallbacksPayload(&copts.callbacks) |
| 1003 | freeProxyOptions(&copts.proxy_opts) |
| 1004 | } |
| 1005 | |
| 1006 | func populatePushOptions(copts *C.git_push_options, opts *PushOptions, errorTarget *error) *C.git_push_options { |
| 1007 | C.git_push_options_init(copts, C.GIT_PUSH_OPTIONS_VERSION) |
no test coverage detected
searching dependent graphs…