tree: allow the user to skip an entry or cancel the walk
Returning a negative cancels the walk, and returning a positive one causes us to skip an entry, which was previously done by a negative value. This allows us to stay consistent with the rest of the functions that take a callback and keeps the skipping functionality.
Showing
Please
register
or
sign in
to comment