MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / Compare

Function Compare

src/utils/StringUtils.h:85–88  ·  view source on GitHub ↗

Case insensitive comparison of strings.

Source from the content-addressed store, hash-verified

83
84// Case insensitive comparison of strings.
85inline bool Compare(const std::string & left, const std::string & right)
86{
87 return Lower(left) == Lower(right);
88}
89
90// Return true if the string ends with the suffix.
91// Note: The comparison is case sensitive.

Callers 15

ContainFunction · 0.85
RemoveFunction · 0.85
mainFunction · 0.85
bindPyFormatMetadataFunction · 0.85
PyConfig.cppFile · 0.85
bindPyContextFunction · 0.85
getIndexMethod · 0.85
addMethod · 0.85
addAliasMethod · 0.85

Calls 1

LowerFunction · 0.85

Tested by 1

RemoveTemporaryDirectoryFunction · 0.68