git

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommitDelimiter      string = "@sha256:"
	PullRequestReference string = "pull/([0-9]+)/head"
)

Variables

This section is empty.

Functions

func CommandContext

func CommandContext(ctx context.Context, args ...string) *exec.Cmd

func GetBranchNameForPR added in v0.4.0

func GetBranchNameForPR(ref string) string

func NormalizeRepository added in v0.2.0

func NormalizeRepository(str string) (string, string, string, string)

func PingRepository added in v0.2.0

func PingRepository(str string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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