updater

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FUVERSION = "dev"
View Source
var NAME = "Updater Gradle"

Functions

func ReadPropertiesFile

func ReadPropertiesFile(fName string) (*properties.Properties, error)

func WritePropertiesFile

func WritePropertiesFile(fName string, p *properties.Properties) error

Types

type LogHandler

type LogHandler struct {
	// contains filtered or unexported fields
}

func NewLogHandler

func NewLogHandler() *LogHandler

func (*LogHandler) HandleLog

func (h *LogHandler) HandleLog(e *log.Entry) error

type Updater

type Updater struct {
	VersionKey string
	TrimTag    string
	NewVersion string
}

func (*Updater) Apply

func (u *Updater) Apply(file, newVersion string) error

func (*Updater) ForFiles

func (u *Updater) ForFiles() string

func (*Updater) Init

func (u *Updater) Init(m map[string]string) error

func (*Updater) Name

func (u *Updater) Name() string

func (*Updater) Version

func (u *Updater) Version() string

Jump to

Keyboard shortcuts

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