memgraph/include/utils/string/file.hpp
2016-08-10 09:39:02 +01:00

20 lines
294 B
C++

#pragma once
#include <fstream>
#include <ostream>
#include <streambuf>
#include <string>
#include <cerrno>
#include <stdexcept>
#include <fmt/format.h>
namespace utils
{
std::string read_file(const char *filename);
void write_file(const std::string& content, const std::string& path);
}