updater

package
v0.0.0-...-e1fd696 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package updater is used to update the cli

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Package updater is used to update the cli

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Package updater is used to update the cli

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Package updater is used to update the cli

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanUpdate

func CanUpdate(currentVersion string, gitSummary string, verboseOutput bool) (bool, string)

CanUpdate will check for updates

func CanUpdateDaily

func CanUpdateDaily(currentVersion string, gitSummary string, verboseOutput bool) (bool, string)

CanUpdateDaily will check for updates at most once a day

func CanUpdateFromAddshore

func CanUpdateFromAddshore(currentVersion string, gitSummary string, verboseOutput bool) (bool, *selfupdate.Release)

CanUpdateFromAddshore ...

func CanUpdateFromWikimedia

func CanUpdateFromWikimedia(currentVersion string, gitSummary string, verboseOutput bool) (bool, string)

CanUpdateFromWikimedia ...

func Update

func Update(currentVersion string, gitSummary string, verboseOutput bool) (bool, string)

Update perform the latest update

func UpdateFromAddshore

func UpdateFromAddshore(currentVersion string, gitSummary string, verboseOutput bool) (success bool, message string)

UpdateFromAddshore ...

func UpdateFromAddshoreTo

func UpdateFromAddshoreTo(release selfupdate.Release, verboseOutput bool) (success bool, message string)

UpdateFromAddshoreTo ...

func UpdateFromWikimedia

func UpdateFromWikimedia(currentVersion string, gitSummary string, verboseOutput bool) (success bool, message string)

UpdateFromWikimedia ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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