mirror of
https://github.com/restic/restic.git
synced 2025-12-14 02:57:04 +00:00
implement progress bar for index loading
This commit is contained in:
committed by
Michael Eischer
parent
eac1c4a8d0
commit
ed65a7dbca
@@ -252,7 +252,7 @@ func TestBackupTreeLoadError(t *testing.T) {
|
||||
|
||||
r, err := OpenRepository(context.TODO(), env.gopts)
|
||||
rtest.OK(t, err)
|
||||
rtest.OK(t, r.LoadIndex(context.TODO()))
|
||||
rtest.OK(t, r.LoadIndex(context.TODO(), nil))
|
||||
treePacks := restic.NewIDSet()
|
||||
r.Index().Each(context.TODO(), func(pb restic.PackedBlob) {
|
||||
if pb.Type == restic.TreeBlob {
|
||||
|
||||
Reference in New Issue
Block a user