Documentation
¶
Overview ¶
Package binupdate owns standalone released-binary update mechanics and version/install classification.
Index ¶
Constants ¶
View Source
const ( RepoOwner = "pyranthus-hq" RepoName = "mora" )
Variables ¶
This section is empty.
Functions ¶
func FirstNonEmpty ¶
func IsHomebrewManaged ¶
func LocalBuildBase ¶
func OldSavePath ¶
Types ¶
type Release ¶
type Release struct {
Version, AssetName string
// contains filtered or unexported fields
}
type Verdict ¶
type Verdict int
const ( // VerdictUpgrade: the latest release is genuinely newer — offer/install it. VerdictUpgrade Verdict = iota // VerdictUpToDate: the running binary already is (or is past) the latest release. VerdictUpToDate // VerdictLocalAhead: the running binary is a local git build at or ahead of // the latest release's tag — "upgrading" would be a downgrade; refuse. VerdictLocalAhead )
Click to show internal directories.
Click to hide internal directories.