40 #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_
41 #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_
77 pathname_ = rhs.pathname_;
81 const char* c_str()
const {
return pathname_.c_str(); }
114 bool IsEmpty()
const {
return pathname_.empty(); }
119 FilePath RemoveTrailingPathSeparator()
const;
127 FilePath RemoveDirectoryName()
const;
147 bool CreateDirectoriesRecursively()
const;
153 bool CreateFolder()
const;
157 bool FileOrDirectoryExists()
const;
161 bool DirectoryExists()
const;
166 bool IsDirectory()
const;
170 bool IsRootDirectory()
const;
173 bool IsAbsolutePath()
const;
201 const char* FindLastPathSeparator()
const;
211 #endif // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_