git

package
v1.0.1-0...-6930af3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2016 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocatePipeline

func LocatePipeline(pipelines []bk.Pipeline) *bk.Pipeline

LocatePipeline the pipeline which represents the current director.

Types

type GitCmd

type GitCmd interface {
	Remotes() ([]string, error)
}

type GitRepo

type GitRepo struct {
	URL   string
	Owner string
	Name  string
}

GitRepo git repo details parsed from the remote url.

func GitRemoteMatch

func GitRemoteMatch(remote string) (bool, *GitRepo)

func (*GitRepo) String

func (gr *GitRepo) String() string

Jump to

Keyboard shortcuts

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