rippled
Loading...
Searching...
No Matches
FileUtilities.h
1#pragma once
2
3#include <boost/filesystem.hpp>
4#include <boost/system/error_code.hpp>
5
6#include <optional>
7
8namespace xrpl {
9
12 boost::system::error_code& ec,
13 boost::filesystem::path const& sourcePath,
15
16void
17writeFileContents(boost::system::error_code& ec, boost::filesystem::path const& destPath, std::string const& contents);
18
19} // namespace xrpl
T is_same_v
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
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)