diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-02 15:41:08 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-09-02 15:41:08 +0200 |
commit | 2a048d5d8b2b25326685ba53fc390781ba96deed (patch) | |
tree | fcba14fa2f993cb67226c3eeebca135e5d316c0a /repo_test.go | |
parent | 9387c79a1862e7572ffc59919c05cf1dc9aeeae5 (diff) | |
download | dna-backup-2a048d5d8b2b25326685ba53fc390781ba96deed.tar.gz dna-backup-2a048d5d8b2b25326685ba53fc390781ba96deed.zip |
move maps inside repo
Diffstat (limited to 'repo_test.go')
-rw-r--r-- | repo_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repo_test.go b/repo_test.go index b09f6ed..694c413 100644 --- a/repo_test.go +++ b/repo_test.go @@ -188,11 +188,11 @@ func TestBsdiff(t *testing.T) { oldChunks := make(chan StoredChunk, 16) versions := repo.loadVersions() go repo.loadChunks(versions, oldChunks) - fingerprints, sketches := repo.hashChunks(oldChunks) + repo.hashChunks(oldChunks) // Read new data reader := getDataStream(dataDir, concatFiles) - recipe := repo.matchStream(reader, fingerprints, sketches) + recipe := repo.matchStream(reader) newChunks := extractDeltaChunks(repo.mergeTempChunks(recipe)) assertLen(t, 2, newChunks, "New delta chunks:") for _, c := range newChunks { |