Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/kvrocks
/ SanitizeErrorMessage
Function
SanitizeErrorMessage
src/storage/scripting.cc:65–69 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
63
namespace {
64
65
std::string SanitizeErrorMessage(std::string_view message) {
66
std::string sanitized(message);
67
std::erase_if(sanitized, [](char c) { return c ==
'\r'
|| c ==
'\n'
; });
68
return sanitized;
69
}
70
71
} // namespace
72
Callers
1
ReplyToRedisReply
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected