You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2017/03/01 16:38:49 UTC
[02/50] couch commit: updated refs/heads/2971-count-distinct to
ee32cd5
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 <ii...@apache.org>
Authored: Wed Oct 5 14:25:19 2016 -0700
Committer: ILYA Khlopotov <ii...@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]) ->