es_filehash

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorHashNotFound = errors.New("hash not found")
)

Functions

This section is empty.

Types

type Hash

type Hash interface {
	MD5(filepath string) (digest string, err error)
	SHA256(filepath string) (digest string, err error)
}

func NewHash

func NewHash(l esl.Logger) Hash

Jump to

Keyboard shortcuts

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