git

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

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
}

func Get

func Get() (*Git, error)

func (*Git) Head

func (g *Git) Head() (*plumbing.Reference, error)

func (*Git) IsWorktreeClean

func (g *Git) IsWorktreeClean() (bool, error)

func (*Git) Tags

func (g *Git) Tags() (storer.ReferenceIter, error)

Jump to

Keyboard shortcuts

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