hasher

package
v0.7.11 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hasher

type Hasher struct {
	// contains filtered or unexported fields
}

func New

func New() *Hasher

func (*Hasher) GetHash

func (h *Hasher) GetHash() []byte

func (*Hasher) HashBytes

func (h *Hasher) HashBytes(b []byte)

func (*Hasher) HashCommand

func (h *Hasher) HashCommand(cmd spec.Command)

func (*Hasher) HashFile

func (h *Hasher) HashFile(ctx context.Context, src string) error

func (*Hasher) HashString

func (h *Hasher) HashString(s string)

func (*Hasher) HashVersion

func (h *Hasher) HashVersion(version spec.Version)

Jump to

Keyboard shortcuts

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