jiup

package
v0.0.0-...-0161461 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoSuchPackage = errors.New("one or more of the specified packages does not exist")

ErrNoSuchPackage is returned if one or more specified packages does not exist.

Functions

This section is empty.

Types

type Updater

type Updater struct {
	Registry *registry.Registry
	// contains filtered or unexported fields
}

Updater represents an instance of the updater.

func New

func New(registry *registry.Registry) *Updater

New returns a new instance of Updater.

func NewForPackages

func NewForPackages(registry *registry.Registry, packages []string) (*Updater, error)

NewForPackages returns a new instance of Updater which only updates a selected set of packages.

func (*Updater) Update

func (u *Updater) Update(progress, verbose, force bool, broken map[string]error) (updated map[string]string, unchanged []string, norule []string, rolling []string, skipped []string, errored map[string]error)

Update updates the registry.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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