Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VCSVersion ¶ added in v4.22.0
func VCSVersion() string
VCSVersion retrieves the version information from git.
If the current commit is untagged, the version string will show the last tag, followed by the number of commits since the tag, then the short hash of the current commit.
If the tree is dirty, "-dirty" is appended.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.