mirror of
https://github.com/JaCoB1123/dupe-finder.git
synced 2025-05-18 14:11:55 +02:00
Also append Images to list
This commit is contained in:
parent
a66b84a545
commit
f4872c95d1
10
filesmap.go
10
filesmap.go
@ -101,6 +101,16 @@ func (fm *FilesMap) HashedWorker(done chan bool) {
|
|||||||
fm.lock.Unlock()
|
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
|
done <- true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user