hashsum

package
v1.54.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: MIT Imports: 11 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OutputBase64   = false
	DownloadFlag   = false
	HashsumOutfile = ""
)

Global hashsum flags for reuse in md5sum, sha1sum, and dbhashsum

Functions

func AddHashFlags

func AddHashFlags(cmdFlags *pflag.FlagSet)

AddHashFlags is a convenience function to add the command flags OutputBase64 and DownloadFlag to hashsum, md5sum, sha1sum, and dbhashsum

func GetHashsumOutput

func GetHashsumOutput(filename string) (out *os.File, close func(), err error)

GetHashsumOutput opens and closes the output file when using the output-file flag

Types

This section is empty.

Jump to

Keyboard shortcuts

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