1 // 2 // Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2021 3 // 4 // Distributed under the Boost Software License, Version 1.0. (See accompanying 5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 // 7 #pragma once 8 9 #include <string> 10 11 namespace td { 12 namespace tl { 13 14 std::string get_file_contents(const std::string &file_name, const std::string &mode); 15 16 bool put_file_contents(const std::string &file_name, const std::string &mode, const std::string &contents); 17 18 std::string remove_documentation(const std::string &str); 19 20 } // namespace tl 21 } // namespace td 22