commitlog

package
v0.0.5-dev.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommitFromString

func GetCommitFromString(commitString string, repo *git.Repository) *object.Commit

GetCommitFromString - get commit from hash string

func GetLatestTagFromRepository

func GetLatestTagFromRepository(repository *git.Repository) (*plumbing.Reference, *plumbing.Reference, error)

GetLatestTagFromRepository - Get the latest Tag reference from the repo

Types

type ErrMessage

type ErrMessage struct {
	Message string
	Err     error
}

ErrMessage - simple interface around error with a custom message

func CommitLog

func CommitLog(path string, startCommitString string, endCommitString string, inclusionFlags string, skipClassification bool) (string, ErrMessage)

CommitLog - Generate commit log

Jump to

Keyboard shortcuts

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