#include "../include/Conf.hpp" #include "../include/FileUtil.hpp" using namespace std; namespace sibs { Result readConf(const char *filepath) { Result fileContentResult = getFileContent(filepath); if(fileContentResult.isErr()) return fileContentResult; string configData; printf("file content:\n%s\n", fileContentResult.unwrap().c_str()); return Result::Ok(std::move(configData)); } }