model

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2015 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualsForProductBuildVersion

func EqualsForProductBuildVersion(pb0, pb1 productBuildVersion) bool

func EqualsForShortVersion

func EqualsForShortVersion(s0, s1 shortVersion) bool

func GetExcessCompatibleProductBuildVersion

func GetExcessCompatibleProductBuildVersion(str string) (productBuildVersion, error)

func GetExcessCompatibleShortVersion

func GetExcessCompatibleShortVersion(str string) (shortVersion, error)

func GetProductBuildVersionInString

func GetProductBuildVersionInString(short productBuildVersion) string

func GetShortVersionInString

func GetShortVersionInString(short shortVersion) string

func IsProductBuildVersion

func IsProductBuildVersion(str string) bool

func IsShortVersion

func IsShortVersion(str string) bool

func Less

func Less(v0, v1 version) bool

func LessForProductBuildVersion

func LessForProductBuildVersion(pb0, pb1 productBuildVersion) bool

func LessForShortVersion

func LessForShortVersion(s0, s1 shortVersion) bool

func NewProductBuildVersion

func NewProductBuildVersion(str string) (productBuildVersion, error)

func NewShortVersion

func NewShortVersion(str string) (shortVersion, error)

func NewVersion

func NewVersion(shortVersionString string, productBuildVersionString string) (version, error)

Types

type Plist

type Plist struct {
	String string `xml:"string"`
}

type Xcode

type Xcode struct {
	AppPath string
	AppName string
	Version version
}

type XcodeSlice

type XcodeSlice []Xcode

func (XcodeSlice) Len

func (p XcodeSlice) Len() int

func (XcodeSlice) Less

func (p XcodeSlice) Less(i, j int) bool

func (XcodeSlice) Sort

func (p XcodeSlice) Sort()

func (XcodeSlice) Swap

func (p XcodeSlice) Swap(i, j int)

Jump to

Keyboard shortcuts

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