MCPcopy Create free account
hub / github.com/cinience/RedisStudio / ReWriteConfig

Method ReWriteConfig

RedisStudio/Redis/RedisClient.cpp:308–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308bool RedisClient::ReWriteConfig()
309{
310 redisReply* reply = Command("CONFIG REWRITE");
311 if (!reply) return false;
312
313 if (reply->type != REDIS_REPLY_STATUS)
314 {
315 freeReplyObject(reply);
316 return false;
317 }
318 freeReplyObject(reply);
319 return true;
320}
321
322bool RedisClient::GetData( const std::string& key, std::string& type, RedisResult& results )
323{

Callers

nothing calls this directly

Calls 1

freeReplyObjectFunction · 0.85

Tested by

no test coverage detected