git

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2020 License: MIT Imports: 6 Imported by: 0

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.

func NewParser

func NewParser() Parser

NewParser creates a new instance of a Parser

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

Jump to

Keyboard shortcuts

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