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

Method get_node_id

app/redis_tools/redis_builder/redis_util.cpp:12–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12bool redis_util::get_node_id(const char* addr, acl::string& node_id,
13 const char* passwd)
14{
15 acl::redis_client client(addr);
16 if (passwd && *passwd) {
17 client.set_password(passwd);
18 }
19 acl::redis redis(&client);
20 return get_node_id(redis, node_id);
21}
22
23bool redis_util::get_node_id(acl::redis& redis, acl::string& node_id)
24{

Callers

nothing calls this directly

Calls 9

set_passwordMethod · 0.80
cluster_nodesMethod · 0.80
beginMethod · 0.80
get_streamMethod · 0.45
get_clientMethod · 0.45
get_peerMethod · 0.45
endMethod · 0.45
get_idMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected