gitoperations

package
v0.0.0-...-80a0973 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRepoPath

func GetRepoPath(registry cfg.GitRepo) string

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(config cfg.Global) *Client

func (*Client) CommitAndPush

func (c *Client) CommitAndPush(registry cfg.GitRepo, message string)

func (*Client) GetCommitID

func (c *Client) GetCommitID(path string) string

func (*Client) InitialGitCloneAndCheckout

func (c *Client) InitialGitCloneAndCheckout(registry cfg.GitRepo) *git.Repository

InitialGitCloneAndCheckout All-In-One method that will do a clone and checkout

func (*Client) Pull

func (c *Client) Pull(registry cfg.GitRepo)

Jump to

Keyboard shortcuts

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