couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [06/49] fabric commit: updated refs/heads/windsor-merge to b1c0030
Date Fri, 01 Aug 2014 14:34:27 GMT
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 <paul.joseph.davis@gmail.com>
Authored: Fri Oct 4 13:16:03 2013 -0500
Committer: Robert Newson <rnewson@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].
 


Mime
View raw message