hasher

package
v0.0.0-...-ea891f8 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(dir string) (*Client, error)

func (*Client) Init

func (c *Client) Init() error

Init walks through directory files and generates hash file.

func (*Client) Reset

func (c *Client) Reset()

Reset removes storage validator data directory.

func (*Client) Validate

func (c *Client) Validate() error

Validate validates directory files against previously stored checksum.

Jump to

Keyboard shortcuts

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