MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / IsPathSeparator

Function IsPathSeparator

test/common/gtest/gtest.cpp:8360–8366  ·  view source on GitHub ↗

Returns whether the given character is a valid path separator.

Source from the content-addressed store, hash-verified

8358
8359// Returns whether the given character is a valid path separator.
8360static bool IsPathSeparator(char c) {
8361#if GTEST_HAS_ALT_PATH_SEP_
8362 return (c == kPathSeparator) || (c == kAlternatePathSeparator);
8363#else
8364 return c == kPathSeparator;
8365#endif
8366}
8367
8368// Returns the current working directory, or "" if unsuccessful.
8369FilePath FilePath::GetCurrentDir() {

Callers 4

IsRootDirectoryMethod · 0.85
IsAbsolutePathMethod · 0.85
IsDirectoryMethod · 0.85
NormalizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected