hasher

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 5 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortArrayAndComputeHash

func SortArrayAndComputeHash(s []string) (string, error)

SortArrayAndComputeHash sorts a string array and returns a hash for it

Types

type Hasher added in v0.8.6

type Hasher struct{}

Hasher computes the hash of an RNode.

func (*Hasher) Hash added in v0.8.6

func (h *Hasher) Hash(node *yaml.RNode) (r string, err error)

Hash returns a hash of the argument.

Jump to

Keyboard shortcuts

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