pkginfo

package
v0.0.0-...-a4c085a Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2015 License: GPL-2.0, GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PkgInfo

type PkgInfo struct {
	Name       string
	Version    string
	Iteration  int
	BuildDate  time.Time
	FlagStates spdl.FlatFlagList
}

func FromControl

func FromControl(c *control.Control) *PkgInfo

func (*PkgInfo) InstanceOf

func (p *PkgInfo) InstanceOf(c *control.Control) bool

func (PkgInfo) PrettyString

func (p PkgInfo) PrettyString() string

func (*PkgInfo) Satisfies

func (p *PkgInfo) Satisfies(flags spdl.FlatFlagList) bool

func (*PkgInfo) SetFlagState

func (p *PkgInfo) SetFlagState(f spdl.FlatFlag) error

func (*PkgInfo) SetFlagStates

func (p *PkgInfo) SetFlagStates(states spdl.FlatFlagList) error

func (PkgInfo) String

func (p PkgInfo) String() string

func (PkgInfo) ToDep

func (p PkgInfo) ToDep() spdl.Dep

type PkgInfoList

type PkgInfoList []PkgInfo

Jump to

Keyboard shortcuts

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