couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [8/9] couch-mrview commit: updated refs/heads/master to 4cc8114
Date Thu, 28 Aug 2014 12:12:57 GMT
squash! Add an API to see if the index file exists


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

Branch: refs/heads/master
Commit: 68313488d2469c24e17c3214cdb4dcaa8f295a06
Parents: db88586
Author: Robert Newson <rnewson@apache.org>
Authored: Tue Aug 26 12:49:08 2014 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Aug 26 13:02:40 2014 +0100

----------------------------------------------------------------------
 src/couch_mrview_index.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/68313488/src/couch_mrview_index.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_index.erl b/src/couch_mrview_index.erl
index ab30b7d..a269a8d 100644
--- a/src/couch_mrview_index.erl
+++ b/src/couch_mrview_index.erl
@@ -17,7 +17,7 @@
 -export([init/2, open/2, close/1, reset/1, delete/1]).
 -export([start_update/3, purge/4, process_doc/3, finish_update/1, commit/1]).
 -export([compact/3, swap_compacted/2]).
--export([check_index_file/1]).
+-export([index_file_exists/1]).
 
 -include_lib("couch/include/couch_db.hrl").
 -include_lib("couch_mrview/include/couch_mrview.hrl").
@@ -172,7 +172,7 @@ swap_compacted(OldState, NewState) ->
     couch_mrview_compactor:swap_compacted(OldState, NewState).
 
 
-check_index_file(State) ->
+index_file_exists(State) ->
     #mrst{
         db_name=DbName,
         sig=Sig


Mime
View raw message