MCPcopy Create free account
hub / github.com/go-git/go-git / newUploadPackSession

Function newUploadPackSession

remote.go:523–530  ·  view source on GitHub ↗
(url string, auth transport.AuthMethod, insecure bool, cabundle []byte, proxyOpts transport.ProxyOptions)

Source from the content-addressed store, hash-verified

521}
522
523func newUploadPackSession(url string, auth transport.AuthMethod, insecure bool, cabundle []byte, proxyOpts transport.ProxyOptions) (transport.UploadPackSession, error) {
524 c, ep, err := newClient(url, insecure, cabundle, proxyOpts)
525 if err != nil {
526 return nil, err
527 }
528
529 return c.NewUploadPackSession(ep, auth)
530}
531
532func newSendPackSession(url string, auth transport.AuthMethod, insecure bool, cabundle []byte, proxyOpts transport.ProxyOptions) (transport.ReceivePackSession, error) {
533 c, ep, err := newClient(url, insecure, cabundle, proxyOpts)

Callers 2

fetchMethod · 0.70
listMethod · 0.70

Calls 2

newClientFunction · 0.85
NewUploadPackSessionMethod · 0.65

Tested by

no test coverage detected