MCPcopy Create free account
hub / github.com/cginternals/globjects / endsWith

Function endsWith

source/globjects/source/IncludeProcessor.cpp:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39inline bool endsWith(const std::string& string, char firstChar)
40{
41 return !string.empty() && string.back() == firstChar;
42}
43
44
45} // namespace

Callers 2

parseIncludeMethod · 0.85
expandPathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected