gitutils

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckoutTag

func CheckoutTag(repository *git.Repository, tag *plumbing.Reference) error

CheckoutTag checks out the repository to the given tag.

func SortedCommitTags

func SortedCommitTags(repository *git.Repository) ([]*plumbing.Reference, error)

SortedCommitTags returns the repository's commit object tags sorted by their chronological order in the current branch's history. Tags for commits not in the branch's history are returned in lexicographical order relative to their adjacent tags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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