Function Util::read_file#
Defined in File Utils.cpp
Function Documentation#
-
std::string Util::read_file(const std::string &fpath)#
Reads the content of a file with the given path.
- Parameters:
fname – the path of the file to read
- Throws:
invalid_argument – if file is not readable
- Returns:
the files content