You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ii...@apache.org on 2016/05/03 17:30:05 UTC

[1/2] fabric commit: updated refs/heads/master to c449ab2

Repository: couchdb-fabric
Updated Branches:
  refs/heads/master f0d6c03e4 -> c449ab224


Improve fabric:get_doc_count spec


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

Branch: refs/heads/master
Commit: 1dcc5b88a34f5ccf65c4dec97f0096808e3ae407
Parents: f0d6c03
Author: ILYA Khlopotov <ii...@ca.ibm.com>
Authored: Tue May 3 06:57:49 2016 -0700
Committer: ILYA Khlopotov <ii...@ca.ibm.com>
Committed: Tue May 3 06:57:49 2016 -0700

----------------------------------------------------------------------
 src/fabric.erl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/1dcc5b88/src/fabric.erl
----------------------------------------------------------------------
diff --git a/src/fabric.erl b/src/fabric.erl
index 97f766b..e568179 100644
--- a/src/fabric.erl
+++ b/src/fabric.erl
@@ -84,7 +84,10 @@ get_db_info(DbName) ->
     fabric_db_info:go(dbname(DbName)).
 
 %% @doc the number of docs in a database
--spec get_doc_count(dbname()) -> {ok, non_neg_integer()}.
+-spec get_doc_count(dbname()) ->
+    {ok, non_neg_integer()} |
+    {error, atom()} |
+    {error, atom(), any()}.
 get_doc_count(DbName) ->
     fabric_db_doc_count:go(dbname(DbName)).
 


[2/2] fabric commit: updated refs/heads/master to c449ab2

Posted by ii...@apache.org.
Merge remote branch 'cloudant:update-get_doc_count-spec'

This closes #49

Signed-off-by: ILYA Khlopotov <ii...@ca.ibm.com>


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

Branch: refs/heads/master
Commit: c449ab22431658173af45a6599d9875883adb911
Parents: f0d6c03 1dcc5b8
Author: ILYA Khlopotov <ii...@ca.ibm.com>
Authored: Tue May 3 08:29:50 2016 -0700
Committer: ILYA Khlopotov <ii...@ca.ibm.com>
Committed: Tue May 3 08:29:50 2016 -0700

----------------------------------------------------------------------
 src/fabric.erl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------