gitbranches

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(app *kingpin.Application)

Types

type Branch

type Branch struct {
	Current   bool
	Remote    string
	Name      string
	Upstream  string
	Living    bool
	Committer string
}

Branch contains information of a branch

func (Branch) FullName

func (b Branch) FullName() string

FullName gets path of the origin and name

type Filter

type Filter func(*Branch) bool

func ParseFilter

func ParseFilter(specs []string) Filter

Jump to

Keyboard shortcuts

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