Documentation ¶
Index ¶
- func CreateTag(annonation string, message string) (bool, error)
- func CreateTagFrom(annonation, commit, message string) (bool, error)
- func FormatCommit(messages map[string]string) (string, error)
- func IsGitInstalled() bool
- func IsGitRepository() bool
- func IsStageAreaEmpty() bool
- type Git
- type GitCommit
- type GitTag
- type GitTagGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTagFrom ¶
func IsGitInstalled ¶ added in v0.10.0
func IsGitInstalled() bool
func IsGitRepository ¶ added in v0.12.0
func IsGitRepository() bool
func IsStageAreaEmpty ¶ added in v0.12.0
func IsStageAreaEmpty() bool
Types ¶
type Git ¶
type Git struct { Tags []string GitTags []GitTag GitCommits []GitCommit Command map[string]cmd.InternalCommand }
func (Git) IsTagsEmpty ¶
func (*Git) LastestTag ¶
type GitTagGroup ¶
type GitTagGroup []GitTag
func (GitTagGroup) Len ¶
func (version GitTagGroup) Len() int
func (GitTagGroup) Less ¶
func (version GitTagGroup) Less(i, j int) bool
func (GitTagGroup) Swap ¶
func (version GitTagGroup) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.