2018-03-16 14:33:27 +01:00
|
|
|
//
|
2024-01-01 01:07:21 +01:00
|
|
|
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2024
|
2018-03-16 14:33:27 +01:00
|
|
|
//
|
|
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
//
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace td {
|
|
|
|
namespace tl {
|
|
|
|
|
2023-06-26 05:59:19 +02:00
|
|
|
std::string get_file_contents(const std::string &file_name);
|
2018-03-16 14:33:27 +01:00
|
|
|
|
2023-06-26 14:08:36 +02:00
|
|
|
bool put_file_contents(const std::string &file_name, const std::string &contents, bool compare_documentation);
|
2018-03-16 14:33:27 +01:00
|
|
|
|
|
|
|
std::string remove_documentation(const std::string &str);
|
|
|
|
|
|
|
|
} // namespace tl
|
|
|
|
} // namespace td
|