Returns whether the given character is a valid path separator.
| 83 | |
| 84 | // Returns whether the given character is a valid path separator. |
| 85 | static bool IsPathSeparator(char c) { |
| 86 | #if GTEST_HAS_ALT_PATH_SEP_ |
| 87 | return (c == kPathSeparator) || (c == kAlternatePathSeparator); |
| 88 | #else |
| 89 | return c == kPathSeparator; |
| 90 | #endif |
| 91 | } |
| 92 | |
| 93 | // Returns the current working directory, or "" if unsuccessful. |
| 94 | FilePath FilePath::GetCurrentDir() { |
no outgoing calls
no test coverage detected