mirror of
https://github.com/restic/restic.git
synced 2026-10-30 12:05:42 +00:00
ui/progress: unexport NoopPrinter and add New* function
This commit is contained in:
1 parent
e8ed2434cd
commit
0bbfb072af
13 files changed
+41
-35
No files matched your search
@@ -162,7 +162,7 @@ func repack(t *testing.T, repo restic.Repository, be backend.Backend, packs rest
|
||||
func rebuildAndReloadIndex(t *testing.T, repo *repository.Repository) {
|
||||
rtest.OK(t, repository.RepairIndex(context.TODO(), repo, repository.RepairIndexOptions{
|
||||
ReadAllPacks: true,
|
||||
}, &progress.NoopPrinter{}))
|
||||
}, progress.NewNoopPrinter()))
|
||||
|
||||
rtest.OK(t, repo.LoadIndex(context.TODO(), nil))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user