Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReleaseCheckResult ¶
type ReleaseCheckResult int
const ( NotNeeded ReleaseCheckResult = 0 Success ReleaseCheckResult = 1 Failure ReleaseCheckResult = 2 Disabled ReleaseCheckResult = 3 )
func CheckNewRelease ¶
func CheckNewRelease(ctx context.Context, force bool) (ReleaseCheckResult, error)
CheckNewRelease checks for a new release and updates the release info in the DB. If force is true, the release info is updated even if it is fresh or if the automatic release check is disabled.
Click to show internal directories.
Click to hide internal directories.