Electroneum
Loading...
Searching...
No Matches
file_io_utils.h File Reference
#include <fstream>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
Include dependency graph for file_io_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  epee
namespace  epee::file_io_utils

Functions

bool epee::file_io_utils::is_file_exist (const std::string &path)
bool epee::file_io_utils::save_string_to_file (const std::string &path_to_file, const std::string &str)
bool epee::file_io_utils::get_file_time (const std::string &path_to_file, time_t &ft)
bool epee::file_io_utils::set_file_time (const std::string &path_to_file, const time_t &ft)
bool epee::file_io_utils::load_file_to_string (const std::string &path_to_file, std::string &target_str, size_t max_size=1000000000)
bool epee::file_io_utils::append_string_to_file (const std::string &path_to_file, const std::string &str)
bool epee::file_io_utils::get_file_size (const std::string &path_to_file, uint64_t &size)