couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject [02/50] couch commit: updated refs/heads/2971-count-distinct to ee32cd5
Date Wed, 01 Mar 2017 16:38:49 GMT
update typespec of find_newest_header


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

Branch: refs/heads/2971-count-distinct
Commit: be236b9a8957af4ba3fc4520a53f25855b9c5d92
Parents: 7dca415
Author: ILYA Khlopotov <iilyak@apache.org>
Authored: Wed Oct 5 14:25:19 2016 -0700
Committer: ILYA Khlopotov <iilyak@apache.org>
Committed: Wed Oct 5 14:25:19 2016 -0700

----------------------------------------------------------------------
 src/couch_file.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/be236b9a/src/couch_file.erl
----------------------------------------------------------------------
diff --git a/src/couch_file.erl b/src/couch_file.erl
index 49a8456..e7d9413 100644
--- a/src/couch_file.erl
+++ b/src/couch_file.erl
@@ -594,7 +594,7 @@ find_header(Fd, Block, ReadCount) ->
     end.
 
 -spec find_newest_header(file:fd(), [{location(), header_size()}]) ->
-    {ok, binary()} | not_found.
+    {ok, location(), binary()} | not_found.
 find_newest_header(_Fd, []) ->
     not_found;
 find_newest_header(Fd, [{Location, Size} | LocationSizes]) ->


Mime
View raw message