git

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 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) Viewer

func (c *Client) Viewer() (string, error)

type CloneOption

type CloneOption func(*cloneOptions)

func WithCloneAuth

func WithCloneAuth(username, token string) CloneOption

Jump to

Keyboard shortcuts

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