Turi Create  4.0
sanitize_url.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #ifndef FILEIO_SANITIZE_URL_HPP
7 #define FILEIO_SANITIZE_URL_HPP
8 #include <string>
9 namespace turi {
10 /**
11  * \ingroup fileio
12  * Sanitizes a general_fstream URL so that it is suitable for printing;
13  * right now, all it does is to drop all credential information when
14  * the protocol is s3.
15  */
16 std::string sanitize_url(std::string url);
17 }
18 #endif
std::string sanitize_url(std::string url)