42
43
return boost::algorithm::split(tokens, text, boost::is_from_range(sep, sep), boost::algorithm::token_compress_on);
46
47
char *value = getenv(name.c_str());
49
50
return std::string(value);
52
57
bool Utils::CreateFile(const std::string &file_path) {
53
58
boost::filesystem::path p(file_path);
54
59
if (boost::filesystem::exists(p))