1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-16 00:03:34 +00:00

Add keepChunkHashes flag to GetSnapshotChunks, allowing reduced memory

This commit is contained in:
Peter Fern
2018-01-20 08:25:35 +11:00
parent 91f02768f9
commit bd5a689b7d
4 changed files with 23 additions and 13 deletions

View File

@@ -199,7 +199,7 @@ func checkTestSnapshots(manager *SnapshotManager, expectedSnapshots int, expecte
snapshot := manager.DownloadSnapshot(snapshotID, revision)
numberOfSnapshots++
for _, chunk := range manager.GetSnapshotChunks(snapshot) {
for _, chunk := range manager.GetSnapshotChunks(snapshot, false) {
chunks[chunk] = true
}
}