MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / IsPathSeparator

Function IsPathSeparator

tests/gtest/gtest-all.cc:9322–9328  ·  view source on GitHub ↗

Returns whether the given character is a valid path separator.

Source from the content-addressed store, hash-verified

9320
9321// Returns whether the given character is a valid path separator.
9322static bool IsPathSeparator(char c) {
9323#if GTEST_HAS_ALT_PATH_SEP_
9324 return (c == kPathSeparator) || (c == kAlternatePathSeparator);
9325#else
9326 return c == kPathSeparator;
9327#endif
9328}
9329
9330// Returns the current working directory, or "" if unsuccessful.
9331FilePath 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