diff options
author | Randall Leeds <randall@apache.org> | 2011-07-30 00:37:28 +0000 |
---|---|---|
committer | Randall Leeds <randall@apache.org> | 2011-07-30 00:37:28 +0000 |
commit | daa640b113907bb28fc9b26e38849f239d353363 (patch) | |
tree | d35290acede667148c629f921ad9e31caffae51e /src/mochiweb/mochilists.erl | |
parent | 6f43183770b858906e6f41e59f65a0513615479d (diff) |
Backport of r1152397 from trunk
Call traversal handlers in btree folds
Previously the fold function was only invoked for leafs.
With this change it's possible to define a fold function which is called
for inner nodes and can return a tuple {skip, Acc} in order to skip
exploration of the branch.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1152405 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/mochiweb/mochilists.erl')
0 files changed, 0 insertions, 0 deletions