git

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

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

Repo wraps a Git repository.

func Open

func Open(dir string) (*Repo, error)

Open opens a Git repository at the specified path.

func (*Repo) VersionTags

func (r *Repo) VersionTags() (tags []string, err error)

VersionTags returns the SemVer tags associated with the current HEAD revision on the repo.

Jump to

Keyboard shortcuts

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