mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-05-08 09:49:51 +00:00
Compare commits
No commits in common. "97f490b8b7e95bac91e68dacdf723597006ed2ec" and "360dceca7bbab9f7a3cbdecb9d0c9973d2af15b2" have entirely different histories.
97f490b8b7
...
360dceca7b
@ -1,2 +1,2 @@
|
|||||||
__version__ = "4.3.1-dev"
|
__version__ = "4.3.0"
|
||||||
__appname__ = "dupeGuru"
|
__appname__ = "dupeGuru"
|
||||||
|
@ -303,13 +303,12 @@ def getmatches_by_contents(files, bigsize=0, j=job.nulljob):
|
|||||||
# skip hashing for zero length files
|
# skip hashing for zero length files
|
||||||
result.append(Match(first, second, 100))
|
result.append(Match(first, second, 100))
|
||||||
continue
|
continue
|
||||||
# if digests are the same (and not None) then files match
|
if first.digest_partial == second.digest_partial:
|
||||||
if first.digest_partial == second.digest_partial and first.digest_partial is not None:
|
|
||||||
if bigsize > 0 and first.size > bigsize:
|
if bigsize > 0 and first.size > bigsize:
|
||||||
if first.digest_samples == second.digest_samples and first.digest_samples is not None:
|
if first.digest_samples == second.digest_samples:
|
||||||
result.append(Match(first, second, 100))
|
result.append(Match(first, second, 100))
|
||||||
else:
|
else:
|
||||||
if first.digest == second.digest and first.digest is not None:
|
if first.digest == second.digest:
|
||||||
result.append(Match(first, second, 100))
|
result.append(Match(first, second, 100))
|
||||||
group_count += 1
|
group_count += 1
|
||||||
j.add_progress(desc=PROGRESS_MESSAGE % (len(result), group_count))
|
j.add_progress(desc=PROGRESS_MESSAGE % (len(result), group_count))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user