git

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Username string
	Token    string
}

type Client

type Client struct{}

func NewClient

func NewClient() *Client

func (*Client) Clone

func (c *Client) Clone(owner, repo, dest string, opts ...CloneOption) error

func (*Client) Init added in v0.1.0

func (c *Client) Init(p string) error

func (*Client) IsExists added in v0.1.0

func (c *Client) IsExists(p string) (bool, error)

type CloneOption

type CloneOption func(*cloneOptions)

func WithCloneAuth

func WithCloneAuth(username, token string) CloneOption

func WithCloneSSHKey added in v0.4.0

func WithCloneSSHKey(path string) CloneOption

Jump to

Keyboard shortcuts

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