Help us shape the future of Go! Take the 2026 Go Developer Survey

git

package
v0.1.61 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchListBuilder

type BranchListBuilder struct {
	Log        *logrus.Logger
	GitCommand *commands.GitCommand
}

BranchListBuilder returns a list of Branch objects for the current repo

func NewBranchListBuilder

func NewBranchListBuilder(log *logrus.Logger, gitCommand *commands.GitCommand) (*BranchListBuilder, error)

NewBranchListBuilder builds a new branch list builder

func (*BranchListBuilder) Build

func (b *BranchListBuilder) Build() []commands.Branch

Build the list of branches for the current repo

Jump to

Keyboard shortcuts

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