gitclient

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 6 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
}

func NewClient

func NewClient(p string) (*Client, error)

func (*Client) CurrentBranch

func (this *Client) CurrentBranch() string

func (*Client) CurrentTags

func (this *Client) CurrentTags() []string

func (*Client) GetTagsByCommit

func (this *Client) GetTagsByCommit(commit string) []string

func (*Client) IsClean

func (this *Client) IsClean() (bool, error)

func (*Client) LastCommit

func (this *Client) LastCommit() string

func (*Client) LatestTags

func (this *Client) LatestTags() []string

func (*Client) SetPath

func (this *Client) SetPath(p string) error

Jump to

Keyboard shortcuts

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