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

Function proxyOptionsFromC

remote.go:184–189  ·  view source on GitHub ↗
(copts *C.git_proxy_options)

Source from the content-addressed store, hash-verified

182}
183
184func proxyOptionsFromC(copts *C.git_proxy_options) ProxyOptions {
185 return ProxyOptions{
186 Type: ProxyType(copts._type),
187 Url: C.GoString(copts.url),
188 }
189}
190
191type Remote struct {
192 doNotCompare

Callers 1

Calls 1

ProxyTypeTypeAlias · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…