updater

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2021 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// UpdateMoveAfterQuit is exported for testing
	UpdateMoveAfterQuit = true
)

Functions

func FetchReleases added in v1.10.0

func FetchReleases(pre bool) ([]ghrel.Release, error)

FetchReleases fetches and returns all releases of gopass from GitHub

func IsUpdateable

func IsUpdateable(ctx context.Context) error

IsUpdateable returns an error if this binary is not updateable

func LatestRelease added in v1.10.0

func LatestRelease(pre bool) (ghrel.Release, error)

LatestRelease fetches and returns the latest gopass release from GitHub

func Update

func Update(ctx context.Context, pre bool, version semver.Version, migrationCheck func(context.Context) bool) error

Update will start th interactive update assistant

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL