git

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author added in v1.9.0

type Author struct {
	Name  string
	Email string
	When  time.Time
}

type Commit

type Commit struct {
	Message string
	Author  Author
}

Commit stores all git-commit information

type Repository

type Repository interface {
	Log(fromRev, toRev string) ([]Commit, error)
}

Repository is an abstraction for git-repository

func NewRepository

func NewRepository(path string) (Repository, error)

NewRepository return Repository from path

Jump to

Keyboard shortcuts

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