recipe

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileHash

type FileHash struct {
	Vtype string // md5/sha1/sha256/sha512, 默认md5
}

FileHash 文件hash,支持 md5/sha1

func (*FileHash) DirList

func (c *FileHash) DirList(vDir string) ([]HashList, error)

func (*FileHash) GetHash

func (c *FileHash) GetHash(filepath string) string

func (*FileHash) PathList

func (c *FileHash) PathList(vPath string) ([]HashList, error)

type HashList

type HashList struct {
	Filename string
	Hash     string
	Vpath    string
}

Jump to

Keyboard shortcuts

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