restore: Add progress bar
Co-authored-by: Mark Herrmann <mark.herrmann@mailbox.org>
This commit is contained in:
parent
024d01d85b
commit
f875a8843d
10 changed files with 399 additions and 21 deletions
|
@ -29,7 +29,7 @@ func TestRestorerRestoreEmptyHardlinkedFileds(t *testing.T) {
|
|||
},
|
||||
})
|
||||
|
||||
res := NewRestorer(context.TODO(), repo, sn, false)
|
||||
res := NewRestorer(context.TODO(), repo, sn, false, nil)
|
||||
|
||||
res.SelectFilter = func(item string, dstpath string, node *restic.Node) (selectedForRestore bool, childMayBeSelected bool) {
|
||||
return true, true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue