MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / endsWith

Function endsWith

Global/StrUtils.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48static bool
49endsWith(const std::string& str,
50 const std::string& suffix)
51{
52 return ( ( str.size() >= suffix.size() ) &&
53 (str.compare(str.size() - suffix.size(), suffix.size(), suffix) == 0) );
54}
55
56NATRON_NAMESPACE_ENTER
57

Callers 1

cleanPathFunction · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected