tree.c
19.2 KB
-
tree: allow the user to skip an entry or cancel the walk · a6bf1687
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.
Carlos Martín Nieto committed