(url string, auth transport.AuthMethod, insecure bool, cabundle []byte, proxyOpts transport.ProxyOptions)
| 521 | } |
| 522 | |
| 523 | func 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 | |
| 532 | func 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) |
no test coverage detected