git

package
v0.0.0-...-520f48c Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Git

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

func NewGit

func NewGit(logger *log.Logger) *Git

func (*Git) CreateBranch

func (git *Git) CreateBranch(name string) []byte

func (*Git) CurrentBranch

func (git *Git) CurrentBranch() (string, error)

func (*Git) CurrentOrigin

func (git *Git) CurrentOrigin() string

func (*Git) IsBranchExist

func (git *Git) IsBranchExist(name string) bool

func (*Git) SwitchBranch

func (git *Git) SwitchBranch(name string) bool

Jump to

Keyboard shortcuts

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