MCPcopy Create free account
hub / github.com/acl-dev/acl / get_status

Method get_status

lib_acl_cpp/src/redis/redis_result.cpp:156–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156const char* redis_result::get_status() const
157{
158 if (result_type_ != REDIS_RESULT_STATUS) {
159 return "";
160 }
161 const char* ptr = get(0);
162 return ptr == NULL ? "" : ptr;
163}
164
165const char* redis_result::get_error() const
166{

Callers 4

askMethod · 0.45
eval_statusMethod · 0.45
evalsha_statusMethod · 0.45
get_commandMethod · 0.45

Calls 1

getFunction · 0.50

Tested by

no test coverage detected