MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / IsPathSeparator

Function IsPathSeparator

rtpose_wrapper/src/gtest/gtest-all.cpp:7518–7524  ·  view source on GitHub ↗

Returns whether the given character is a valid path separator.

Source from the content-addressed store, hash-verified

7516
7517// Returns whether the given character is a valid path separator.
7518static bool IsPathSeparator(char c) {
7519#if GTEST_HAS_ALT_PATH_SEP_
7520 return (c == kPathSeparator) || (c == kAlternatePathSeparator);
7521#else
7522 return c == kPathSeparator;
7523#endif
7524}
7525
7526// Returns the current working directory, or "" if unsuccessful.
7527FilePath 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