Documentation
¶
Index ¶
- func BackgroundUpdate(ctx context.Context, prerel, silent bool) error
- func Check() bool
- func DoDeferredUpdate() error
- func IsUnderHomebrew() bool
- func Relaunch(ctx context.Context, silent bool) error
- func UpgradeInPlace(ctx context.Context, io *iostreams.IOStreams, prelease, silent bool) error
- type Release
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackgroundUpdate ¶ added in v0.1.51
BackgroundUpdate begins an update in the background.
func Check ¶ added in v0.0.251
func Check() bool
Check reports whether update checks should take place.
func DoDeferredUpdate ¶
func DoDeferredUpdate() error
func IsUnderHomebrew ¶ added in v0.0.523
func IsUnderHomebrew() bool
IsUnderHomebrew reports whether the fly binary was found under the Homebrew prefix.
Types ¶
Click to show internal directories.
Click to hide internal directories.