git

package
v0.0.0-...-0d1f8c2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeBranch

func ChangeBranch(branch string, output io.Writer) error

func GetRepoRoot

func GetRepoRoot(output io.Writer) (string, error)

Types

type Branch

type Branch struct {
	Name    string
	Current bool
}

func DeleteBranch

func DeleteBranch(branch string, output io.Writer) ([]Branch, error)

func GetBranches

func GetBranches() ([]Branch, error)

Jump to

Keyboard shortcuts

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