gitHelper

package
v0.0.0-...-a97389e Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckoutCodes

func CheckoutCodes(build *Build) (err error)

func Fetch

func Fetch(build *Build) (err error)

func ForcePull

func ForcePull(build *Build, force bool) (err error)

func GetGitProjectName

func GetGitProjectName(gitUrl string) string

func Pull

func Pull(build *Build) (err error)

Types

type Build

type Build struct {
	ScmAddress string
	Username   string
	Password   string
	WorkDir    string
	ProjectDir string
	RsaKey     string
}

Jump to

Keyboard shortcuts

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