1#ifndef XRPL_BASICS_FILEUTILITIES_H_INCLUDED
2#define XRPL_BASICS_FILEUTILITIES_H_INCLUDED
4#include <boost/filesystem.hpp>
5#include <boost/system/error_code.hpp>
13 boost::system::error_code& ec,
14 boost::filesystem::path
const& sourcePath,
19 boost::system::error_code& ec,
20 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)