git

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const HiddenFolder = ".git"

Variables

This section is empty.

Functions

This section is empty.

Types

type Git

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

func New

func New(shell, path string) *Git

func (*Git) Add

func (g *Git) Add(stdout, stderr io.Writer) error

func (*Git) Commit

func (g *Git) Commit(stdout, stderr io.Writer, msg string) error

func (*Git) Pull

func (g *Git) Pull(stdout, stderr io.Writer) error

func (*Git) Push

func (g *Git) Push(stdout, stderr io.Writer) error

Jump to

Keyboard shortcuts

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