Versions in this module Expand all Collapse all v0 v0.1.0 Dec 7, 2024 Changes in this version + var SupportedAlgorithms = map[string]algorithm + func HashRouter(input <-chan FileHash, hashOutput, nilOutput chan<- FileHash, ...) + func HashSink(input <-chan FileHash, wg *sync.WaitGroup) + func OutputProtobufFile(input <-chan *FileHash, wg *sync.WaitGroup) + func OutputTextFile(input <-chan *FileHash, wg *sync.WaitGroup) + func SortByFifo(input <-chan *FileHash, output chan<- *FileHash, wg *sync.WaitGroup) + func SortByPath(input <-chan *FileHash, output chan<- *FileHash, wg *sync.WaitGroup) + func Sprintf(format string, item *FileHash) string + type FileHash struct + AttrInfo struct{ ... } + File *pathwalk.File + FileInfo struct{ ... } + Hash []byte + Type string + type Hasher struct + Hash hash.Hash + Type string + func New(algo string, key []byte) Hasher + func (hasher *Hasher) HashFile(file *pathwalk.File) *FileHash + func (hasher *Hasher) HashIoReader(reader io.Reader) []byte + func (hasher *Hasher) HashProcessor(input <-chan *pathwalk.File, output chan<- *FileHash, wg *sync.WaitGroup)