std::string GetUserDir(const char *subdir) { static const std::string user_path = FindUserDir(); if (subdir) return JoinPathBelow(user_path, subdir); else return user_path; }
std::string GetUserDir() { static const std::string user_path = FindUserDir(); return user_path; }