src

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Legal()

Legal prints legal information

func MakeLocalRepo

func MakeLocalRepo(folder string, commitMessage string, user *gitlab.User, verbose bool) (repo *git.Repository, err error)

MakeLocalRepo makes a local repository in the given folder

func PrepareRepo

func PrepareRepo(tokenIn string, url string, proEdition bool, repo string, verbose bool) (uri string, user *gitlab.User, token string, err error)

PrepareRepo makes sure that the repo exists and can be force pushed to

func PushToRemote

func PushToRemote(folder string, local *git.Repository, remote string, user *gitlab.User, token string, verbose bool) (err error)

PushToRemote pushes a local repository to the remote

Types

This section is empty.

Jump to

Keyboard shortcuts

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