hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
files.hpp File Reference
#include <string>
#include <vector>
#include <boost/filesystem/path.hpp>
#include "common/result_fwd.hpp"
#include "logger/logger_fwd.hpp"
Include dependency graph for files.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 iroha
 

Functions

void iroha::remove_dir_contents (const boost::filesystem::path &dir, const logger::LoggerPtr &log)
 
iroha::expected::Result< std::string, std::string > iroha::readTextFile (const boost::filesystem::path &path)
 
iroha::expected::Result< std::vector< uint8_t >, std::string > iroha::readBinaryFile (const boost::filesystem::path &path)