20#ifndef RIPPLE_BASICS_FILEUTILITIES_H_INCLUDED
21#define RIPPLE_BASICS_FILEUTILITIES_H_INCLUDED
23#include <boost/filesystem.hpp>
24#include <boost/system/error_code.hpp>
32 boost::system::error_code& ec,
33 boost::filesystem::path
const& sourcePath,
38 boost::system::error_code& ec,
39 boost::filesystem::path
const& destPath,
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::string getFileContents(boost::system::error_code &ec, boost::filesystem::path const &sourcePath, std::optional< std::size_t > maxSize=std::nullopt)
void writeFileContents(boost::system::error_code &ec, boost::filesystem::path const &destPath, std::string const &contents)