mirror of
https://github.com/restic/restic.git
synced 2026-11-13 22:43:03 +00:00
walker: add callback to inform about leaving a directory
This commit is contained in:
1 parent
b2703a4089
commit
9ecbda059c
6 files changed
+34
-16
No files matched your search
@@ -406,7 +406,7 @@ func TestWalker(t *testing.T) {
|
||||
defer cancel()
|
||||
|
||||
fn, last := check(t)
|
||||
err := Walk(ctx, repo, root, fn)
|
||||
err := Walk(ctx, repo, root, WalkVisitor{ProcessNode: fn})
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user