couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [04/25] couch commit: updated refs/heads/master to 92598cd
Date Thu, 15 Oct 2015 16:35:38 GMT
Rename parse_multipart_stream into decode_multipart_stream for consistency with encode_multipart_stream


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

Branch: refs/heads/master
Commit: 88d814af226dae4df6fcd6dfa0fe7f11775f29bc
Parents: 3d6c147
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Fri Nov 28 11:39:56 2014 -0800
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Wed May 6 06:55:58 2015 -0700

----------------------------------------------------------------------
 src/couch_doc.erl             | 2 +-
 src/couch_httpd_multipart.erl | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/88d814af/src/couch_doc.erl
----------------------------------------------------------------------
diff --git a/src/couch_doc.erl b/src/couch_doc.erl
index edca1fc..082641c 100644
--- a/src/couch_doc.erl
+++ b/src/couch_doc.erl
@@ -428,7 +428,7 @@ doc_from_multi_part_stream(ContentType, DataFun) ->
     doc_from_multi_part_stream(ContentType, DataFun, make_ref()).
 
 doc_from_multi_part_stream(ContentType, DataFun, Ref) ->
-    case couch_httpd_multipart:parse_multipart_stream(ContentType, DataFun, Ref) of
+    case couch_httpd_multipart:decode_multipart_stream(ContentType, DataFun, Ref) of
     {{started_open_doc_revs, NewRef}, Parser, _ParserRef} ->
         restart_open_doc_revs(Parser, Ref, NewRef);
     {{doc_bytes, Ref, DocBytes}, Parser, ParserRef} ->

http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/88d814af/src/couch_httpd_multipart.erl
----------------------------------------------------------------------
diff --git a/src/couch_httpd_multipart.erl b/src/couch_httpd_multipart.erl
index 17649e7..037bd9f 100644
--- a/src/couch_httpd_multipart.erl
+++ b/src/couch_httpd_multipart.erl
@@ -1,12 +1,12 @@
 -module(couch_httpd_multipart).
 
 -export([encode_multipart_stream/5]).
--export([parse_multipart_stream/3]).
+-export([decode_multipart_stream/3]).
 -export([abort_multi_part_stream/1]).
 
 -include_lib("couch/include/couch_db.hrl").
 
-parse_multipart_stream(ContentType, DataFun, Ref) ->
+decode_multipart_stream(ContentType, DataFun, Ref) ->
     Parent = self(),
     NumMpWriters = num_mp_writers(),
     {Parser, ParserRef} = spawn_monitor(fun() ->


Mime
View raw message