pkg

package
v0.0.0-...-043d1ac Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2017 License: AGPL-3.0-or-later, GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Package

type Package struct {
	Name       string
	Version    string
	Release    string
	Repo       string
	Arch       string
	Path       string
	SourcePath string
}

func GetAll

func GetAll() (packages map[string]*Package, oldPackages []*Package,
	keys set.Set, err error)

func (*Package) DatabasePath

func (p *Package) DatabasePath() string

func (*Package) Fix

func (p *Package) Fix() (err error)

func (*Package) FullVersion

func (p *Package) FullVersion() string

func (*Package) Key

func (p *Package) Key() string

func (*Package) Remove

func (p *Package) Remove()

func (*Package) SyncState

func (p *Package) SyncState(db *database.Database, stateId bson.ObjectId) (
	err error)

Jump to

Keyboard shortcuts

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