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

Method ConnectFetch

remote.go:1068–1070  ·  view source on GitHub ↗
(callbacks *RemoteCallbacks, proxyOpts *ProxyOptions, headers []string)

Source from the content-addressed store, hash-verified

1066}
1067
1068func (o *Remote) ConnectFetch(callbacks *RemoteCallbacks, proxyOpts *ProxyOptions, headers []string) error {
1069 return o.Connect(ConnectDirectionFetch, callbacks, proxyOpts, headers)
1070}
1071
1072func (o *Remote) ConnectPush(callbacks *RemoteCallbacks, proxyOpts *ProxyOptions, headers []string) error {
1073 return o.Connect(ConnectDirectionPush, callbacks, proxyOpts, headers)

Callers 6

TestTransportFunction · 0.80
TestRemoteConnectFunction · 0.80
TestRemoteConnectOptionFunction · 0.80
TestRemoteLsFunction · 0.80
TestRemoteLsFilteringFunction · 0.80
TestRemotePruneFunction · 0.80

Calls 1

ConnectMethod · 0.95

Tested by 6

TestTransportFunction · 0.64
TestRemoteConnectFunction · 0.64
TestRemoteConnectOptionFunction · 0.64
TestRemoteLsFunction · 0.64
TestRemoteLsFilteringFunction · 0.64
TestRemotePruneFunction · 0.64