MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / IsPathSeparator

Function IsPathSeparator

tests/external/gmock-1.7.0/gtest/src/gtest-filepath.cc:92–98  ·  view source on GitHub ↗

Returns whether the given character is a valid path separator.

Source from the content-addressed store, hash-verified

90
91// Returns whether the given character is a valid path separator.
92static 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.
101FilePath FilePath::GetCurrentDir() {

Callers 4

IsRootDirectoryMethod · 0.70
IsAbsolutePathMethod · 0.70
IsDirectoryMethod · 0.70
NormalizeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected