diff options
Diffstat (limited to 'remote.go')
| -rw-r--r-- | remote.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -168,6 +168,13 @@ type ProxyOptions struct { Url string } +func proxyOptionsFromC(copts *C.git_proxy_options) *ProxyOptions { + return &ProxyOptions{ + Type: ProxyType(copts._type), + Url: C.GoString(copts.url), + } +} + type Remote struct { doNotCompare ptr *C.git_remote |
