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

Method info

lib_acl_cpp/src/redis/redis_server.cpp:239–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239int redis_server::info(string& buf)
240{
241 const char* argv[1];
242 size_t lens[1];
243
244 argv[0] = "INFO";
245 lens[0] = sizeof("INFO") - 1;
246
247 build_request(1, argv, lens);
248 return get_string(buf);
249}
250
251int redis_server::info(std::map<string, string>& out)
252{

Callers

nothing calls this directly

Calls 6

scan_lineMethod · 0.80
build_requestFunction · 0.50
clearMethod · 0.45
emptyMethod · 0.45
c_strMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected