git

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v1.8.0

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

func New

func New(path string, env []string) *Client

func (*Client) Branch added in v1.8.0

func (g *Client) Branch() (string, error)

func (*Client) CheckOut added in v1.8.0

func (g *Client) CheckOut(branch string) (string, error)

func (*Client) Clone added in v1.8.0

func (g *Client) Clone(url string) (string, error)

func (*Client) Commit added in v1.8.0

func (g *Client) Commit(message string) (string, error)

func (*Client) Init added in v1.8.0

func (g *Client) Init() (string, error)

func (*Client) Setup added in v1.8.0

func (g *Client) Setup(name, email string) (string, error)

Jump to

Keyboard shortcuts

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