compare

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Destinations

func Destinations(t1 terra.Destination, t2 terra.Destination) int

Destinations compares two release destinations. Returns 0 if t1 == t2, -1 if t1 < t2, or +1 if t1 > t2. Compares lexicographically by type, by base, and then by name.

func Releases

func Releases(r1 terra.Release, r2 terra.Release) int

Releases Compares two releases. Returns 0 if r1 == r2, -1 if r1 < r2, or +1 if r1 > r2. Compares by type, then by name, then by destination

Types

This section is empty.

Jump to

Keyboard shortcuts

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