git

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commit

type Commit struct {
	SHA     string `json:"sha"`
	Message string `json:"message"`
}

func (*Commit) ShortSha

func (c *Commit) ShortSha() string

type Runner

type Runner struct {
	// Path to the git executable.
	Executable string
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(executable string, logger *logrus.Entry) *Runner

func (*Runner) ListCommits

func (r *Runner) ListCommits(limit int) ([]*Commit, error)

Jump to

Keyboard shortcuts

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