git

package
v0.0.0-...-132cbc5 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: MIT Imports: 7 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 {
	Tags []*version.Version

	Status git.Status

	CurrentVersion *version.Version
	FinalVersion   *version.Version
	FirstVersion   *version.Version
	LastVersion    *version.Version
	// contains filtered or unexported fields
}

Repo represents a git repository

func New

func New(dir string) *Repo

New creates a new repo from a string

func (Repo) CreateTag

func (r Repo) CreateTag(tag string) error

CreateTag tags HEAD in a given repository

Jump to

Keyboard shortcuts

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