git

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 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 GitClient

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

func New added in v1.4.1

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

func (*GitClient) Branch

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

func (*GitClient) CheckOut

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

func (*GitClient) Clone

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

func (*GitClient) Commit

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

func (*GitClient) Init

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

func (*GitClient) Setup

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

Jump to

Keyboard shortcuts

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