Documentation ¶
Overview ¶
Package git provides functionality for interacting with Git repositories.
Index ¶
- type Client
- func (c *Client) InfoRefs(ctx context.Context, service string) (*http.Response, error)
- func (c *Client) ReceivePack(ctx context.Context, body io.Reader) (*http.Response, error)
- func (c *Client) SSHReceivePack(ctx context.Context, body io.Reader) (*http.Response, error)
- func (c *Client) SSHUploadPack(ctx context.Context, body io.Reader) (*http.Response, error)
- func (c *Client) UploadPack(ctx context.Context, body io.Reader) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client represents a client for interacting with Git repositories.
func (*Client) ReceivePack ¶
ReceivePack sends a Git push request to the server.
func (*Client) SSHReceivePack ¶ added in v14.36.0
SSHReceivePack sends a SSH Git push request to the server.
func (*Client) SSHUploadPack ¶ added in v14.36.0
SSHUploadPack sends a SSH Git fetch request to the server.
Click to show internal directories.
Click to hide internal directories.