package
6.9.0
Repository: https://github.com/mdomke/git-semver.git
Documentation: pkg.go.dev

# Functions

GitDescribe looks at the git repository at path and figures out versioning relvant information about the head commit.
NewFromHead creates a new [Version] based on the given head revision, which can be created with [GitDescribe].
NewFromRepo calculates a semantic version for the head commit of the repo at path.
No description provided by the author

# Constants

DefaultPrefix that is recognized and ignored by the parser.
The DefaultTarget when calculating the next version.
updates to the next development version (e.g.
Predefined format strings to be used with the Format function.
updates to the next major version.
updates to the next minor version.
Predefined format strings to be used with the Format function.
Predefined format strings to be used with the Format function.
Predefined format strings to be used with the Format function.
Predefined format strings to be used with the Format function.
updates to the next patch level.

# Structs

RepoHead provides statistics about the head commit of a git repository like its commit-hash, the number of commits since the last tag and the name of the last tag.
No description provided by the author
Version holds the parsed components of git describe.

# Type aliases

No description provided by the author
Target specifies a component of a semantic version that should be updated to.