Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version represents the semantic version of Sledgehammer Version string = "0.0.1" // BuildDate represents the date of the build BuildDate string // GitCommit represent the git sha of the current build GitCommit string // DefaultConstraint is the constraint used for version selection when none is given DefaultConstraint = "*" )
Functions ¶
func Select ¶
Select will select one of the given versions based on the given constraint. If no version can be found, it will return an empty string
func ShouldPull ¶
ShouldPull will determine if the remote version should be pulled. It will be pulled if the remote version is newer than the local one.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.