MCPcopy
hub / github.com/go-git/go-git / newUploadPackSession

Function newUploadPackSession

remote.go:535–542  ·  view source on GitHub ↗
(url string, auth transport.AuthMethod, insecure bool, clientCert, clientKey, caBundle []byte, proxyOpts transport.ProxyOptions)

Source from the content-addressed store, hash-verified

533}
534
535func newUploadPackSession(url string, auth transport.AuthMethod, insecure bool, clientCert, clientKey, caBundle []byte, proxyOpts transport.ProxyOptions) (transport.UploadPackSession, error) {
536 c, ep, err := newClient(url, insecure, clientCert, clientKey, caBundle, proxyOpts)
537 if err != nil {
538 return nil, err
539 }
540
541 return c.NewUploadPackSession(ep, auth)
542}
543
544func newSendPackSession(url string, auth transport.AuthMethod, insecure bool, clientCert, clientKey, caBundle []byte, proxyOpts transport.ProxyOptions) (transport.ReceivePackSession, error) {
545 c, ep, err := newClient(url, insecure, clientCert, clientKey, caBundle, proxyOpts)

Callers 2

fetchMethod · 0.70
listMethod · 0.70

Calls 2

newClientFunction · 0.85
NewUploadPackSessionMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…