Documentation
¶
Overview ¶
Package mutagen provides common version and legal metadata for Mutagen.
Index ¶
Constants ¶
View Source
const ( // VersionMajor represents the current major version of Mutagen. VersionMajor = 0 // VersionMinor represents the current minor version of Mutagen. VersionMinor = 9 // VersionPatch represents the current patch version of Mutagen. VersionPatch = 0 // VersionTag represents a tag to be appended to the Mutagen version string. // It must not contain spaces. If empty, no tag is appended to the version // string. VersionTag = "beta1" )
View Source
const LegalNotice = `` /* 25802-byte string literal not displayed */
LegalNotice provides license notices for Mutagen itself and any third-party dependencies.
Variables ¶
View Source
var Version string
Version provides a stringified version of the current Mutagen version.
Functions ¶
func ReceiveAndCompareVersion ¶
ReceiveAndCompareVersion reads version information from the specified reader and ensures that it matches the current Mutagen version.
func ReceiveVersion ¶
ReceiveVersion reads version information from the specified reader.
func SendVersion ¶
SendVersion writes the current Mutagen version to the specified writer.
func SourceTreePath ¶ added in v0.7.0
SourceTreePath computes the path to the Mutagen source directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.