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

Function populateProxyOptions

remote.go:576–585  ·  view source on GitHub ↗
(copts *C.git_proxy_options, opts *ProxyOptions)

Source from the content-addressed store, hash-verified

574}
575
576func populateProxyOptions(copts *C.git_proxy_options, opts *ProxyOptions) *C.git_proxy_options {
577 C.git_proxy_options_init(copts, C.GIT_PROXY_OPTIONS_VERSION)
578 if opts == nil {
579 return nil
580 }
581
582 copts._type = C.git_proxy_t(opts.Type)
583 copts.url = C.CString(opts.Url)
584 return copts
585}
586
587func freeProxyOptions(copts *C.git_proxy_options) {
588 if copts == nil {

Callers 3

populateFetchOptionsFunction · 0.85
populatePushOptionsFunction · 0.85
ConnectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…