You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/08/01 16:34:27 UTC

[06/49] fabric commit: updated refs/heads/windsor-merge to b1c0030

Add fabric_dict:fetch_keys/1


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/28a9e3df
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/28a9e3df
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/28a9e3df

Branch: refs/heads/windsor-merge
Commit: 28a9e3df6ed981b86935bdf79a9444ea6fcf8976
Parents: 3222511
Author: Paul J. Davis <pa...@gmail.com>
Authored: Fri Oct 4 13:16:03 2013 -0500
Committer: Robert Newson <rn...@apache.org>
Committed: Fri Aug 1 15:33:40 2014 +0100

----------------------------------------------------------------------
 src/fabric_dict.erl | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/28a9e3df/src/fabric_dict.erl
----------------------------------------------------------------------
diff --git a/src/fabric_dict.erl b/src/fabric_dict.erl
index 20700c0..f88ca97 100644
--- a/src/fabric_dict.erl
+++ b/src/fabric_dict.erl
@@ -22,6 +22,9 @@ init(Keys, InitialValue) ->
 is_key(Key, Dict) ->
     orddict:is_key(Key, Dict).
 
+fetch_keys(Dict) ->
+    orddict:fetch_keys(Dict).
+
 decrement_all(Dict) ->
     [{K,V-1} || {K,V} <- Dict].