git

package
v0.0.0-...-89b97bc Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2018 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handle

type Handle struct {
	GitCommand     string
	GitArgs        []string
	GitCommandArgs []string
	GitEnvironment []string
}

func MakeHandle

func MakeHandle() Handle

func (Handle) Command

func (h Handle) Command(dir string, command string, _args ...string) *exec.Cmd

func (Handle) Diff

func (h Handle) Diff(path string, color bool, name string) (string, error)

func (Handle) Download

func (h Handle) Download(url string, path string, name string) (string, bool, error)

func (Handle) Merge

func (h Handle) Merge(path string, name string) (string, error)

func (Handle) NeedMerge

func (h Handle) NeedMerge(path string, name string) (bool, error)

func (Handle) RevParse

func (h Handle) RevParse(path string, args ...string) ([]string, error)

Jump to

Keyboard shortcuts

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