Back to godoc.org

Package updater

v1.8.6
Latest Go to latest
Published: Jul 26, 2019 | License: MIT | Module: github.com/justwatchcom/gopass

Index

Package Files

Variables

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

func IsUpdateable

func IsUpdateable(ctx context.Context) error

IsUpdateable returns an error if this binary is not updateable

func LatestRelease

func LatestRelease(ctx context.Context, pre bool) (ghrel.Release, error)

LatestRelease fetches and return the latest release of gopass from GitHub

func Update

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

Update will start hte interactive update assistant

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier