gitclient

package
v0.3.14 Latest Latest
Warning

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

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

func NewClient

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

func (*Client) CurrentBranch

func (this *Client) CurrentBranch() string

func (*Client) CurrentTags

func (this *Client) CurrentTags() []*object.Tag

func (*Client) GetCommitByTagName added in v0.3.13

func (this *Client) GetCommitByTagName(s string) *object.Commit

func (*Client) GetTagsByCommit

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

func (*Client) IsClean

func (this *Client) IsClean() bool

func (*Client) LastCommit

func (this *Client) LastCommit() *object.Commit

func (*Client) LatestTag added in v0.3.13

func (this *Client) LatestTag() *object.Tag

func (*Client) LatestTags

func (this *Client) LatestTags() []*object.Tag

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