#pragma once #include #include #include #include namespace xrpl { std::string getFileContents( std::error_code& ec, std::filesystem::path const& sourcePath, std::optional maxSize = std::nullopt); void writeFileContents( std::error_code& ec, std::filesystem::path const& destPath, std::string const& contents); } // namespace xrpl