git

package
v2.0.0-rc9 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 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

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

func (*GIT) DeleteTag

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

func (*GIT) GetLogs

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

func (*GIT) GetTags

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

type Log

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

type Option

type Option func(*execOptions)

func Args

func Args(args ...string) Option

func Env

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