You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/01/17 23:08:26 UTC

[12/32] git commit: reflect api changes in couch_api_index. While I'm here, even if the module isn't used give it a proper module declaration.

reflect api changes in couch_api_index. While I'm here, even if the
module isn't used give it a proper module declaration.



git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1176269 13f79535-47bb-0310-9956-ffa450edef68


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

Branch: refs/heads/import
Commit: e3a65c27196cda28a4ef29230c2d2eda17f91fd7
Parents: a1e6b40
Author: Benoit Chesneau <be...@apache.org>
Authored: Tue Sep 27 08:25:08 2011 +0000
Committer: Benoit Chesneau <be...@apache.org>
Committed: Tue Sep 27 08:25:08 2011 +0000

----------------------------------------------------------------------
 src/couch_index_api.erl | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-index/blob/e3a65c27/src/couch_index_api.erl
----------------------------------------------------------------------
diff --git a/src/couch_index_api.erl b/src/couch_index_api.erl
index 6a5087f..9d3a67c 100644
--- a/src/couch_index_api.erl
+++ b/src/couch_index_api.erl
@@ -10,11 +10,13 @@
 % License for the specific language governing permissions and limitations under
 % the License.
 
-
+-module(couch_index_api).
 
 get(Field, State) ->
     ok.
 
+init(Db, Ddoc) ->
+    ok.
 
 open(Db, State) ->
     ok.
@@ -32,10 +34,10 @@ reset(State) ->
 start_update(State, PurgedState, NumChanges) ->
     {ok, State}.
 
-purge(PurgedIdRevs, State) ->
+purge(Db, PurgeSeq, PurgedIdRevs, State) ->
     ok.
 
-process_doc(Doc, State) ->
+process_doc(Doc, Seq, State) ->
     ok.
 
 finish_update(State) ->