update

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const UpdateURL string = "https://github.com/Tom5521/fsize/releases/latest"

Variables

This section is empty.

Functions

func ApplyUpdate

func ApplyUpdate(client *github.Client, status *Status) (err error)

Types

type Status added in v1.21.0

type Status struct {
	Asset         *github.ReleaseAsset
	Release       *github.RepositoryRelease
	Latest        bool
	CurrentDigest string
}

func CheckUpdate

func CheckUpdate(client *github.Client) (status *Status, err error)

Jump to

Keyboard shortcuts

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