Repository: couchdb-couch Updated Branches: refs/heads/master 7dca41578 -> 01c2b5ce9
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/master Commit: be236b9a8957af4ba3fc4520a53f25855b9c5d92 Parents: 7dca415 Author: ILYA Khlopotov <iil...@apache.org> Authored: Wed Oct 5 14:25:19 2016 -0700 Committer: ILYA Khlopotov <iil...@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]) ->