Documentation ¶
Index ¶
- Constants
- func Adler32(input *Input) (exitCode uint8)
- func Compare(input *Input) (exitCode uint8)
- func Crc32(input *Input) (exitCode uint8)
- func Crc64(input *Input) (exitCode uint8)
- func Hash(input *Input, output abstract.OutputInterface, helper *iotool.FileHelper, ...) (exitCode uint8)
- func HashFromList(input *Input, output abstract.OutputInterface, helper *iotool.FileHelper, ...) (exitCode uint8)
- func Hashsum(input *Input) (exitCode uint8)
- func Md5(input *Input) (exitCode uint8)
- func Sha1(input *Input) (exitCode uint8)
- func Sha224(input *Input) (exitCode uint8)
- func Sha256(input *Input) (exitCode uint8)
- func Sha384(input *Input) (exitCode uint8)
- func Sha512(input *Input) (exitCode uint8)
- func Sha512_224(input *Input) (exitCode uint8)
- func Sha512_256(input *Input) (exitCode uint8)
- type HashPath
- type Input
- type Type
- type TypeInterface
Constants ¶
View Source
const ( ERROR_HASH_FUNCTION = 20 // the hash function has returned an error and hopefully it'll be descriptive in stderr ERROR_INVALID_FILE_FORMAT = 21 // the compare file format was detected as invalid (eg wrong hashfunction) )
Variables ¶
This section is empty.
Functions ¶
func Hash ¶
func Hash(input *Input, output abstract.OutputInterface, helper *iotool.FileHelper, factory func() hash.Hash, paths <-chan string) (exitCode uint8)
func HashFromList ¶
func HashFromList(input *Input, output abstract.OutputInterface, helper *iotool.FileHelper, factory func() hash.Hash, paths ...string) (exitCode uint8)
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.