MCPcopy Create free account
hub / github.com/apache/kvrocks / RedisProtocolToLuaTypeBool

Function RedisProtocolToLuaTypeBool

src/storage/scripting.cc:1205–1209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1203}
1204
1205const char *RedisProtocolToLuaTypeBool(lua_State *lua, const char *reply, int tf) {
1206 const char *p = strchr(reply + 1, '\r');
1207 lua_pushboolean(lua, tf == 't');
1208 return p + 2;
1209}
1210
1211const char *RedisProtocolToLuaTypeDouble(lua_State *lua, const char *reply) {
1212 const char *p = strchr(reply + 1, '\r');

Callers 1

RedisProtocolToLuaTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected