couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [27/50] fabric commit: updated refs/heads/windsor-merge-121 to 79e6e2f
Date Fri, 01 Aug 2014 09:12:15 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/03086f38
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/03086f38
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/03086f38

Branch: refs/heads/windsor-merge-121
Commit: 03086f3833745888812c3bd96c92df80094dbfd5
Parents: 44185ed
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: Thu Jul 31 13:44:11 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/03086f38/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