check: add index loading progress bar

This commit is contained in:
Michael Eischer
2023-10-01 19:55:29 +02:00
parent b0da0f152f
commit 91aef00df3
5 changed files with 45 additions and 15 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import (
func TestCheckRepo(t testing.TB, repo restic.Repository) {
chkr := New(repo, true)
hints, errs := chkr.LoadIndex(context.TODO())
hints, errs := chkr.LoadIndex(context.TODO(), nil)
if len(errs) != 0 {
t.Fatalf("errors loading index: %v", errs)
}