MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / isSeparator

Function isSeparator

Libraries/Testing/Testing.cpp:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64static size_t nativeLength(StringSpan view) { return view.sizeInBytes() / sizeof(native_char_t); }
65
66static bool isSeparator(native_char_t ch)
67{
68 return ch == static_cast<native_char_t>('/') || ch == static_cast<native_char_t>('\\');
69}
70
71#if SC_PLATFORM_WINDOWS
72static bool isAsciiAlpha(native_char_t ch)

Callers 7

pathEndsWithFunction · 0.85
withoutWindowsRootFunction · 0.85
findRootLengthFunction · 0.85
trimTrailingSeparatorsFunction · 0.85
pathJoinFunction · 0.85
getDirectoryNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected