lab

package
v0.3.0-pre Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Git

type Git struct{}

Git is a client for the local Git repo

func New

func New() *Git

func (*Git) Get

func (g *Git) Get(key string) (string, error)

func (*Git) LocalBranch

func (g *Git) LocalBranch() (string, error)

LocalBranch returns the name of the local branch

func (*Git) RemoteProject

func (g *Git) RemoteProject() (lab.RemoteProject, error)

RemoteProject returns the remote Gitlab project of the local branch

func (*Git) Set

func (g *Git) Set(key, val string, global bool) error

func (*Git) SetAccessToken

func (g *Git) SetAccessToken(r lab.RemoteProject, token string) error

Jump to

Keyboard shortcuts

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