mirror of
https://github.com/restic/restic.git
synced 2026-10-28 03:05:41 +00:00
check: add index loading progress bar
This commit is contained in:
1 parent
b0da0f152f
commit
91aef00df3
5 files changed
+45
-15
No files matched your search
@@ -226,7 +226,8 @@ func runCheck(ctx context.Context, opts CheckOptions, gopts GlobalOptions, args
|
||||
}
|
||||
|
||||
Verbosef("load indexes\n")
|
||||
hints, errs := chkr.LoadIndex(ctx)
|
||||
bar := newIndexProgress(gopts.Quiet, gopts.JSON)
|
||||
hints, errs := chkr.LoadIndex(ctx, bar)
|
||||
|
||||
errorsFound := false
|
||||
suggestIndexRebuild := false
|
||||
|
||||
Reference in new issue
Block a user