mirror of
https://github.com/restic/restic.git
synced 2026-10-12 04:57:12 +00:00
repository: hide MasterIndex.FinalizeFullIndexes / FinalizeNotFinalIndexes
This commit is contained in:
1 parent
ef53ca4a5a
commit
1974ad7ce2
3 files changed
+8
-13
No files matched your search
@@ -134,7 +134,7 @@ func BenchmarkAllVersions(b *testing.B, bench VersionedBenchmark) {
|
||||
}
|
||||
|
||||
func TestMergeIndex(t testing.TB, mi *MasterIndex) ([]*Index, int) {
|
||||
finalIndexes := mi.FinalizeNotFinalIndexes()
|
||||
finalIndexes := mi.finalizeNotFinalIndexes()
|
||||
for _, idx := range finalIndexes {
|
||||
test.OK(t, idx.SetID(restic.NewRandomID()))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user