sort

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByChannelAndVersion

func ByChannelAndVersion(entity1 *input.Entity, entity2 *input.Entity) bool

ByChannelAndVersion is an entity sort function that orders the entities in package, channel (default channel at the head), and inverse version (higher versions on top) if a property does not exist for one of the entities, the one missing the property is pushed down if both entities are missing the same property they are ordered by id

Types

This section is empty.

Jump to

Keyboard shortcuts

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