git

package
v0.0.0-...-dc35972 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Git

type Git struct {
	// contains filtered or unexported fields
}

Git represents a Git project.

func New

func New(dir string) (Git, error)

New creates a new git project.

func (*Git) Diff

func (g *Git) Diff(commitStart string, commitEnd string, path string, otherOptions ...string) *command.Model

Log shows the commit logs. The format parameter controls what is shown and how.

func (*Git) RevList

func (g *Git) RevList(commit string, otherOptions ...string) *command.Model

Jump to

Keyboard shortcuts

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