Documentation
¶
Index ¶
- Constants
- func MD5(path string) (string, error)
- func MD5All(root string) (map[string][md5.Size]byte, error)
- func MD5Digester(done <-chan struct{}, paths <-chan string, c chan<- MD5Result)
- func SHA256(path string) (string, error)
- func SHA256All(root string) (map[string][sha256.Size]byte, error)
- func SHA256Digester(done <-chan struct{}, paths <-chan string, c chan<- SHA256Result)
- func SerialMD5All(root string) (map[string][md5.Size]byte, error)
- func SetCfg()
- func Square(num ...string) (string, error)
- type MD5Result
- type SHA256Result
Constants ¶
View Source
const Name = "pipeline"
Variables ¶
This section is empty.
Functions ¶
func MD5Digester ¶
func SHA256Digester ¶
func SHA256Digester(done <-chan struct{}, paths <-chan string, c chan<- SHA256Result)
func SerialMD5All ¶
serial implementation
Types ¶
type MD5Result ¶
type MD5Result struct {
// contains filtered or unexported fields
}
MD5Result holds the MD5 info for a file.
type SHA256Result ¶
type SHA256Result struct {
// contains filtered or unexported fields
}
SHA256Result holds the info for SHA256 hashes
Click to show internal directories.
Click to hide internal directories.