checksum

package
v0.0.0-...-869b69f Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checksum

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

func New

func New(algo *codec.Codec, path string) *Checksum

func (*Checksum) Changed

func (c *Checksum) Changed() bool

func (*Checksum) Get

func (c *Checksum) Get() string

func (*Checksum) Matches

func (c *Checksum) Matches(other *Checksum) bool

func (*Checksum) MatchesBytes

func (c *Checksum) MatchesBytes(data []byte) bool

func (*Checksum) MatchesString

func (c *Checksum) MatchesString(str string) bool

func (*Checksum) Update

func (c *Checksum) Update()

Jump to

Keyboard shortcuts

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