This is an automated email from the ASF dual-hosted git repository. vatamane pushed a commit to branch prototype/fdb-replicator in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 563646014d41347c7882dbf6c0e2ae0727089956 Author: Nick Vatamaniuc <[email protected]> AuthorDate: Mon Jul 20 17:08:32 2020 -0400 [wip] remove get_view_info unused function --- src/couch_replicator/src/couch_replicator_api_wrap.erl | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/couch_replicator/src/couch_replicator_api_wrap.erl b/src/couch_replicator/src/couch_replicator_api_wrap.erl index ecd4c00..71e6fbd 100644 --- a/src/couch_replicator/src/couch_replicator_api_wrap.erl +++ b/src/couch_replicator/src/couch_replicator_api_wrap.erl @@ -28,7 +28,6 @@ db_close/1, get_db_info/1, get_pending_count/2, - get_view_info/3, update_doc/3, update_doc/4, update_docs/3, @@ -147,14 +146,6 @@ get_pending_count(#httpdb{} = Db, Seq) -> {ok, couch_util:get_value(<<"pending">>, Props, null)} end). -get_view_info(#httpdb{} = Db, DDocId, ViewName) -> - Path = io_lib:format("~s/_view/~s/_info", [DDocId, ViewName]), - send_req(Db, [{path, Path}], - fun(200, _, {Props}) -> - {VInfo} = couch_util:get_value(<<"view_index">>, Props, {[]}), - {ok, VInfo} - end). - ensure_full_commit(#httpdb{} = Db) -> send_req(
