[studio] Rename caseInsensitiveEquals to caseInsensitiveStrCmp
Build / build (push) Successful in 1m9s
Build / build (push) Successful in 1m9s
This commit is contained in:
@@ -36,9 +36,9 @@ static void printUsage() noexcept {
|
||||
|
||||
[[nodiscard]]
|
||||
static constexpr ox::Result<ox::ClawFormat> getFmt(ox::StringViewCR fmtStr) noexcept {
|
||||
if (caseInsensitiveEquals(fmtStr, "mc") == 0) {
|
||||
if (caseInsensitiveStrCmp(fmtStr, "mc") == 0) {
|
||||
return ox::ClawFormat::Metal;
|
||||
} else if (caseInsensitiveEquals(fmtStr, "oc") == 0) {
|
||||
} else if (caseInsensitiveStrCmp(fmtStr, "oc") == 0) {
|
||||
return ox::ClawFormat::Organic;
|
||||
}
|
||||
return ox::Error{1, "invalid format"};
|
||||
|
||||
Reference in New Issue
Block a user