walkerdir

package
v0.0.0-...-d7252a8 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileHasher

type FileHasher struct {
	Filename string
	Hash     []byte
}

func (*FileHasher) Md5

func (h *FileHasher) Md5(path string) ([]byte, error)

Return the md5sum for a normal file.

func (*FileHasher) Md5dir

func (h *FileHasher) Md5dir(path string) ([]byte, error)

Return the md5sum for a directory.

func (*FileHasher) Sha512

func (h *FileHasher) Sha512(path string) ([]byte, error)

Return the sha512 for a normal file.

func (*FileHasher) Sha512dir

func (h *FileHasher) Sha512dir(path string) ([]byte, error)

Return the sha512 for a directory.

Jump to

Keyboard shortcuts

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