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

Function freeFetchOptions

remote.go:997–1004  ·  view source on GitHub ↗
(copts *C.git_fetch_options)

Source from the content-addressed store, hash-verified

995}
996
997func 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
1006func 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)

Callers 3

freeCloneOptionsFunction · 0.85
FetchMethod · 0.85

Calls 3

freeStrarrayFunction · 0.85
untrackCallbacksPayloadFunction · 0.85
freeProxyOptionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…