Returns whether the given character is a valid path separator.
| 9320 | |
| 9321 | // Returns whether the given character is a valid path separator. |
| 9322 | static bool IsPathSeparator(char c) { |
| 9323 | #if GTEST_HAS_ALT_PATH_SEP_ |
| 9324 | return (c == kPathSeparator) || (c == kAlternatePathSeparator); |
| 9325 | #else |
| 9326 | return c == kPathSeparator; |
| 9327 | #endif |
| 9328 | } |
| 9329 | |
| 9330 | // Returns the current working directory, or "" if unsuccessful. |
| 9331 | FilePath FilePath::GetCurrentDir() { |
no outgoing calls
no test coverage detected