git

package
v0.0.0-...-2930d80 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 3 Imported by: 2

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) FetchTags

func (g *Git) FetchTags() command.Command

func (*Git) Log

func (g *Git) Log(format string, commitStart string, commitEnd string, otherOptions ...string) command.Command

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

Jump to

Keyboard shortcuts

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