git

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckoutProvider

func CheckoutProvider(repoPath string, entProvider *ent.Provider) error

Checks out a version of a Provider.

func CloneProvider

func CloneProvider(repoPath string, entProvider *ent.Provider) error

Clones the repo associated with a Provider.

func RepoExists

func RepoExists(url string) bool

Confirms a valid git repo exists at the given URL and is not empty.

URL can be any valid git URL (e.g. https://github.com..., [email protected]:..., etc.)

func RepoTagExists

func RepoTagExists(url, tagName string) bool

Confirms the git repo has a tag with given tag name.

URL can be any valid git URL (e.g. https://github.com..., [email protected]:..., etc.)

func ValidateProviderGit

func ValidateProviderGit(entProvider *ent.Provider) bool

Confirms the Provider has its git config setup properly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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