You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2019/02/23 03:57:47 UTC

[couchdb-b64url] 06/31: Comment on the copied function definitions

This is an automated email from the ASF dual-hosted git repository.

jaydoane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-b64url.git

commit fc4df0d693545966e56c118380d7c76fde595d0d
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Thu Nov 21 13:40:40 2013 -0600

    Comment on the copied function definitions
---
 test/b64url_tests.erl | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/test/b64url_tests.erl b/test/b64url_tests.erl
index 5b01606..cac29f7 100644
--- a/test/b64url_tests.erl
+++ b/test/b64url_tests.erl
@@ -124,6 +124,12 @@ make_bad_len(Bin) when size(Bin) rem 4 == 0 ->
     <<"A", Bin/binary>>.
 
 
+% These functions are copy/pasted from couch_util to avoid
+% the direct dependency. The goal of this project is to replace
+% these in couch_util anyway so when that happens they'll only
+% exist here for these tests.
+
+
 couch_encode_base64url(Url) ->
     Url1 = iolist_to_binary(re:replace(base64:encode(Url), "=+$", "")),
     Url2 = iolist_to_binary(re:replace(Url1, "/", "_", [global])),