git

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client implements Interface

func NewGitClient

func NewGitClient(verbose bool) *Client

func (*Client) CreateTag

func (g *Client) CreateTag(ctx context.Context, tag string) error

func (*Client) GetCurrentBranch

func (g *Client) GetCurrentBranch(ctx context.Context) (string, error)

func (*Client) GetRepoRoot

func (g *Client) GetRepoRoot(ctx context.Context) (string, error)

func (*Client) GetTags

func (g *Client) GetTags(ctx context.Context) ([]string, error)

func (*Client) PushTag

func (g *Client) PushTag(ctx context.Context, tag string) error

Jump to

Keyboard shortcuts

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