mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-07 15:32:34 +00:00
This change replaces all include guards in the `src/` and `include/` directories by `#pragma once`.
20 lines
440 B
C++
20 lines
440 B
C++
#pragma once
|
|
|
|
#include <boost/filesystem.hpp>
|
|
#include <boost/system/error_code.hpp>
|
|
|
|
#include <optional>
|
|
|
|
namespace xrpl {
|
|
|
|
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);
|
|
|
|
} // namespace xrpl
|