mirror of
https://github.com/JaCoB1123/dupe-finder.git
synced 2025-07-03 00:58:54 +02:00
Also append Images to list
This commit is contained in:
10
filesmap.go
10
filesmap.go
@ -101,6 +101,16 @@ func (fm *FilesMap) HashedWorker(done chan bool) {
|
||||
fm.lock.Unlock()
|
||||
}
|
||||
|
||||
for file := range fm.ImagesHashed {
|
||||
if *verbose {
|
||||
fmt.Println("Finishing", file.path)
|
||||
}
|
||||
|
||||
fm.lock.Lock()
|
||||
fm.Images = append(fm.Images, file)
|
||||
fm.lock.Unlock()
|
||||
}
|
||||
|
||||
done <- true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user