git

package
v0.0.1-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient() (*Client, error)

func (*Client) AddRemote

func (c *Client) AddRemote(ctx context.Context, repoPath, name, url, token string) error

func (*Client) Clone

func (c *Client) Clone(ctx context.Context, url, token, dest string) error

func (*Client) CloneAndPush

func (c *Client) CloneAndPush(ctx context.Context, srcURL, srcToken, destURL, destToken, repoName string) error

func (*Client) Close

func (c *Client) Close() error

func (*Client) PushMirror

func (c *Client) PushMirror(ctx context.Context, repoPath, remote string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL