couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [47/48] couch commit: updated refs/heads/windsor-merge-300 to 2c2f53e
Date Wed, 06 Aug 2014 11:55:24 GMT
Minor cosmetic change

1) Export indentation
2) Comment typo


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/371ae11c
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/371ae11c
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/371ae11c

Branch: refs/heads/windsor-merge-300
Commit: 371ae11c070a5ff5be8e56658e39411e9179560e
Parents: ff82e5f
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Fri Nov 15 12:07:18 2013 -0600
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Aug 6 12:49:04 2014 +0100

----------------------------------------------------------------------
 src/couch_key_tree.erl | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/371ae11c/src/couch_key_tree.erl
----------------------------------------------------------------------
diff --git a/src/couch_key_tree.erl b/src/couch_key_tree.erl
index a7f6bb2..bf7e61c 100644
--- a/src/couch_key_tree.erl
+++ b/src/couch_key_tree.erl
@@ -37,7 +37,7 @@
 %% this limit is exceeded only the last 1000 are kept. This comes in to play
 %% when branches are merged. The comparison has to begin at the same place in
 %% the branches. A revision id is of the form N-XXXXXXX where N is the current
-%% revision. So each path will have a start number, calculated in
+%% revision depth. So each path will have a start number, calculated in
 %% couch_doc:to_path using the formula N - length(RevIds) + 1 So, .eg. if a doc
 %% was edit 1003 times this start number would be 4, indicating that 3
 %% revisions were truncated.
@@ -47,9 +47,22 @@
 
 -module(couch_key_tree).
 
--export([merge/3, find_missing/2, get_key_leafs/2, get_full_key_paths/2, get/2]).
--export([get_all_leafs/1, count_leafs/1, remove_leafs/2, get_all_leafs_full/1, stem/2]).
--export([map/2, mapfold/3, map_leafs/2, fold/3]).
+-export([
+count_leafs/1,
+find_missing/2,
+fold/3,
+get/2,
+get_all_leafs/1,
+get_all_leafs_full/1,
+get_full_key_paths/2,
+get_key_leafs/2,
+map/2,
+map_leafs/2,
+mapfold/3,
+merge/3,
+remove_leafs/2,
+stem/2
+]).
 
 -include_lib("couch/include/couch_db.hrl").
 


Mime
View raw message