MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / IsPathSeparator

Function IsPathSeparator

tests/gtest/src/gtest-filepath.cc:85–91  ·  view source on GitHub ↗

Returns whether the given character is a valid path separator.

Source from the content-addressed store, hash-verified

83
84// Returns whether the given character is a valid path separator.
85static 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.
94FilePath 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