git

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 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.Entry
	GitCommand *commands.GitCommand
}

BranchListBuilder returns a list of Branch objects for the current repo

func NewBranchListBuilder

func NewBranchListBuilder(log *logrus.Entry, 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