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

Function pathViewEquals

Libraries/Testing/Testing.cpp:213–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213static bool pathViewEquals(StringSpan lhs, StringSpan rhs)
214{
215 return lhs.sizeInBytes() == rhs.sizeInBytes() and
216 ::memcmp(lhs.bytesWithoutTerminator(), rhs.bytesWithoutTerminator(), lhs.sizeInBytes()) == 0;
217}
218
219static bool repoHasMarkers(StringSpan path)
220{

Callers 1

Calls 1

sizeInBytesMethod · 0.45

Tested by

no test coverage detected