Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAvailable ¶
func IsAvailable(ctx context.Context, currentVersion, contenoxDir string) (latestTag string, available bool, err error)
IsAvailable checks whether a newer version of contenox is available. It caches results for 24 h in contenoxDir/update-check.json to avoid hammering the GitHub API on every invocation. Returns the latest tag, whether it is newer than currentVersion, and any error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.