Documentation
¶
Overview ¶
Package git contains the git interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser interface {
ParseLog(reader io.Reader) ([]*changelog.SemanticCommit, error)
}
Parser is meant to parse semantic commit messages into `changelog.SemanticCommit` objects.
type Repository ¶
type Repository interface {
GetLog() ([]*changelog.SemanticCommit, error)
}
A Repository represents a Git repository containing semantic commits.
func NewRepository ¶
func NewRepository(directory string, parser Parser) Repository
NewRepository creates a new instace of a Repository
Click to show internal directories.
Click to hide internal directories.