aboutsummaryrefslogtreecommitdiff
path: root/repo.go
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-08-30 14:34:55 +0200
committern-peugnet <n.peugnet@free.fr>2021-08-30 14:34:55 +0200
commitafc30e335fb45910cb441956b239fc0d8f89446f (patch)
tree6869adbbf007ec7d27a511af7cdd236ac785a44d /repo.go
parentea34c64c5cd6d62af487a0db62bd64a2b467ec25 (diff)
downloaddna-backup-afc30e335fb45910cb441956b239fc0d8f89446f.tar.gz
dna-backup-afc30e335fb45910cb441956b239fc0d8f89446f.zip
better diff test
Diffstat (limited to 'repo.go')
-rw-r--r--repo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/repo.go b/repo.go
index bf8b167..8df6fdf 100644
--- a/repo.go
+++ b/repo.go
@@ -242,6 +242,7 @@ func findSimilarChunk(chunk Chunk, sketches SketchMap) (*ChunkId, bool) {
for _, id := range chunkIds {
count := similarChunks[*id]
count += 1
+ log.Printf("Found %d %d time(s)", id, count)
if count > max {
similarChunk = id
}