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

Function test_info

lib_acl_cpp/samples/redis/redis_cluster/redis_cluster.cpp:82–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82static bool test_info(acl::redis_cluster& redis)
83{
84 std::map<acl::string, acl::string> result;
85 if (redis.cluster_info(result) == false)
86 return false;
87
88 std::map<acl::string, acl::string>::const_iterator cit;
89 for (cit = result.begin(); cit != result.end(); ++cit)
90 printf("%s=%s\r\n", cit->first.c_str(), cit->second.c_str());
91
92 return true;
93}
94
95static bool preset_all(const char* addr)
96{

Callers 1

mainFunction · 0.70

Calls 4

cluster_infoMethod · 0.80
beginMethod · 0.80
endMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…