You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is now possible to skip expanding an entry in `tree.Walk()` by
returning `TreeWalkSkip`, in addition to stopping altogether by
returning a non-nil error.
Fixes: libgit2#837
It is now possible to skip expanding an entry in `tree.Walk()` by
returning `TreeWalkSkip`, in addition to stopping altogether by
returning a non-nil error.
Fixes: #837
Since the refactoring done in #700, there is no way I can see that allows stopping the iteration from a callback passed to
tree.Walk()
.Before the PR, it was a matter of returning
1
. Now, that does not work anymore.Am I missing something? Is there any other way now to stop the iteration?
/cc @lhchavez
The text was updated successfully, but these errors were encountered: