Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TypesInOrder = Types{
"feat",
"fix",
"test",
"docs",
"build",
"refactor",
"chore",
}
TypesInOrder is the standard ordering of types
Functions ¶
This section is empty.
Types ¶
type ChangeSet ¶
ChangeSet represents the list of all changes in a commit stream (presumably from a base tag)
func Load ¶
func Load(r *git.Repository, stopAt plumbing.Hash, guess CommitTypeGuesser) (*ChangeSet, error)
Load creates a new CommitSet from a repository
type CommitTypeEntry ¶
CommitTypeEntry represents a list of messages of a specific type
func CommitEntries ¶
func CommitEntries(order []TypeTag, m map[TypeTag][]string) []CommitTypeEntry
CommitEntries returns a list of CommitTypeEntry
type CommitTypeGuesser ¶
CommitTypeGuesser is a guess function to guess commit type from the commit. StandardGuess can be used as a base to fill this in.
func DefaultGuess ¶
func DefaultGuess(tag TypeTag) CommitTypeGuesser
DefaultGuess just returns the specified tag if it has to guess
Click to show internal directories.
Click to hide internal directories.