git

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteBranch

func DeleteBranch(name string) error

func Prune

func Prune() error

Types

type BranchInfo

type BranchInfo struct {
	IsCurrent    bool
	Name         string
	CommitHash   string
	RemoteBranch string
	IsRemoteGone bool
	Message      string
}

func ListBranches

func ListBranches() ([]BranchInfo, error)

func (BranchInfo) String

func (b BranchInfo) String() string

Jump to

Keyboard shortcuts

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