20 #ifndef UTILS_STRINGS_GET_ROOT_DIR_H
21 #define UTILS_STRINGS_GET_ROOT_DIR_H
34 std::vector<std::string> path_tokens;
38 if (path_tokens.size() <= 1)
39 return std::string(
"");
41 return path_tokens.front();
std::string GetRootDir(const std::string &path)
void TokenizeFileString(const std::string &string, std::vector< std::string > *tokens)