githelpers

package
v0.0.93 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAndCommitFiles

func AddAndCommitFiles(gitter gits.Gitter, dir string, message string) (bool, error)

AddAndCommitFiles add and commits files

func AddUserTokenToURLIfRequired

func AddUserTokenToURLIfRequired(gitURL, username, token string) (string, error)

AddUserTokenToURLIfRequired ensures we have a user and token in the given git URL

func CreateBranch

func CreateBranch(gitter gits.Gitter, dir string) (string, error)

CreateBranch creates a dynamic branch name and branch

func GitCloneToTempDir

func GitCloneToTempDir(gitter gits.Gitter, gitURL string, dir string) (string, error)

GitCloneToTempDir clones the git repository to either the given directory or create a temporary

Types

This section is empty.

Jump to

Keyboard shortcuts

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