gopass: github.com/justwatchcom/gopass/pkg/updater Index | Files

package updater

import "github.com/justwatchcom/gopass/pkg/updater"

Index

Package Files

update.go update_others.go

Variables

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

func IsUpdateable Uses

func IsUpdateable(ctx context.Context) error

IsUpdateable returns an error if this binary is not updateable

func LatestRelease Uses

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

LatestRelease fetches and return the latest release of gopass from GitHub

func Update Uses

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

Update will start hte interactive update assistant

Package updater imports 25 packages (graph). Updated 2019-03-28. Refresh now. Tools for package owners.