git

package
v1.26.7 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GIT

type GIT struct {
}

func NewGIT

func NewGIT() *GIT

func (*GIT) AssignTag added in v1.24.7

func (g *GIT) AssignTag(name, commit, subject string, date time.Time) error

func (*GIT) DeleteTag added in v1.24.7

func (g *GIT) DeleteTag(name string) error

func (*GIT) GetLogs added in v1.24.7

func (g *GIT) GetLogs() ([]Log, error)

func (*GIT) GetTags

func (g *GIT) GetTags() ([]Tag, error)

type Log added in v1.24.7

type Log struct {
	Commit  string
	Subject string
	Date    time.Time
	Tag     string
}

type Option added in v1.24.7

type Option func(*execOptions)

func Args added in v1.24.7

func Args(args ...string) Option

func Env added in v1.24.7

func Env(env ...string) Option

type Tag

type Tag struct {
	Name    string
	Hash    string
	Subject string
	Date    time.Time
}

Jump to

Keyboard shortcuts

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