repository: hide MasterIndex.FinalizeFullIndexes / FinalizeNotFinalIndexes

This commit is contained in:
Michael Eischer 2022-05-26 15:43:04 +02:00
parent ef53ca4a5a
commit 1974ad7ce2
3 changed files with 8 additions and 13 deletions

View file

@ -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()))
}