git

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoCommits     = errors.New("no commits found")
	ErrNoPreviousTag = errors.New("no previous tag found")
)

Functions

func CommitIter

func CommitIter(repo *git.Repository, opts *git.LogOptions) iter.Seq2[*object.Commit, error]

func FindPreviousTag

func FindPreviousTag(repo *git.Repository, conf *config.Config) (*plumbing.Hash, error)

func PlainOpen added in v1.1.3

func PlainOpen(cmd *cobra.Command) (*git.Repository, error)

func TagIter

func TagIter(repo *git.Repository) iter.Seq2[*plumbing.Reference, error]

func WalkCommits

func WalkCommits(repo *git.Repository, conf *config.Config, previous *plumbing.Hash) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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