40 #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_
41 #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_
78 const char*
c_str()
const {
return pathname_.c_str(); }
111 bool IsEmpty()
const {
return pathname_.empty(); }
116 FilePath RemoveTrailingPathSeparator()
const;
124 FilePath RemoveDirectoryName()
const;
144 bool CreateDirectoriesRecursively()
const;
150 bool CreateFolder()
const;
154 bool FileOrDirectoryExists()
const;
158 bool DirectoryExists()
const;
163 bool IsDirectory()
const;
167 bool IsRootDirectory()
const;
170 bool IsAbsolutePath()
const;
198 const char* FindLastPathSeparator()
const;
206 #endif // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_