dpkg: maze.io/x/dpkg/version Index | Files

package version

import "maze.io/x/dpkg/version"

Index

Package Files

sort.go version.go

func Compare Uses

func Compare(a, b Version) int

func Sort Uses

func Sort(versions []string)

type Version Uses

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

func New Uses

func New(s string) (v Version, err error)

func (Version) Compare Uses

func (v Version) Compare(other Version) int

func (Version) Epoch Uses

func (v Version) Epoch() uint64

func (Version) IsEmpty Uses

func (v Version) IsEmpty() bool

func (Version) String Uses

func (v Version) String() string

Package version imports 6 packages (graph). Updated 2019-02-22. Refresh now. Tools for package owners.