walker: add callback to inform about leaving a directory

This commit is contained in:
Michael Eischer committed 2024-01-27 13:17:32 +01:00
1 parent b2703a4089
commit 9ecbda059c
6 files changed
+34 -16

No files matched your search

+1 -1
View File
@@ -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)
}