16 #include <glog/logging.h> 25 std::string ret(MAX_PATH,
'\0');
26 if (!PathCombineA(ret.c_str(), a.c_str(), b.c_str()))
28 ret.resize(strlen(ret.c_str()));
34 #error "Not implemented for Windows" 39 return PathFileExists(path.c_str());
43 return PathIsDirectory(path.c_str());
47 std::vector<std::string>* files)
const {
50 #error "Not implemented for Windows" static std::string DirName(const std::string &path)
virtual bool FileExists(const std::string &path) const
virtual bool DirectoryExists(const std::string &path) const
static std::string PathJoin(const std::string &a, const std::string &b)
virtual MUST_USE_RESULT bool ListFiles(const std::string &path, std::vector< std::string > *files) const