order

package
v0.26.4 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByReferenceOrder

func ByReferenceOrder(nodeIDs []flow.Identifier) func(*flow.Identity, *flow.Identity) bool

ByReferenceOrder return a function for sorting identities based on the order of the given nodeIDs

func Canonical added in v0.17.0

func Canonical(identity1 *flow.Identity, identity2 *flow.Identity) bool

Canonical represents the canonical ordering for identity lists.

func IdentifierCanonical added in v0.26.1

func IdentifierCanonical(id1 flow.Identifier, id2 flow.Identifier) bool

IdentifierCanonical is a function for sorting IdentifierList into canonical order

func IdentityListCanonical added in v0.26.1

func IdentityListCanonical(identities flow.IdentityList) bool

IdentityListCanonical takes a list of identities and check if it's ordered in canonical order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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