Returns whether the given character is a valid path separator.
| 90 | |
| 91 | // Returns whether the given character is a valid path separator. |
| 92 | static bool IsPathSeparator(char c) { |
| 93 | #if GTEST_HAS_ALT_PATH_SEP_ |
| 94 | return (c == kPathSeparator) || (c == kAlternatePathSeparator); |
| 95 | #else |
| 96 | return c == kPathSeparator; |
| 97 | #endif |
| 98 | } |
| 99 | |
| 100 | // Returns the current working directory, or "" if unsuccessful. |
| 101 | FilePath FilePath::GetCurrentDir() { |
no outgoing calls
no test coverage detected