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

Method get_string

lib_acl_cpp/src/redis/redis_command.cpp:588–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

586}
587
588int redis_command::get_string(string& buf)
589{
590 const redis_result* result = run();
591 if (result == NULL || result->get_type() != REDIS_RESULT_STRING) {
592 logger_result(result);
593 return -1;
594 }
595 return result->argv_to_string(buf);
596}
597
598int redis_command::get_string(string* buf)
599{

Callers

nothing calls this directly

Calls 4

runFunction · 0.50
get_typeMethod · 0.45
argv_to_stringMethod · 0.45
get_lengthMethod · 0.45

Tested by

no test coverage detected