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

Method ScriptExists

src/server/server.cc:1882–1885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1880}
1881
1882Status Server::ScriptExists(const std::string &sha) const {
1883 std::string body;
1884 return ScriptGet(sha, &body);
1885}
1886
1887Status Server::ScriptGet(const std::string &sha, std::string *body) const {
1888 std::string func_name = engine::kLuaFuncSHAPrefix + sha;

Callers 3

ExecuteMethod · 0.80
TestScriptingFunction · 0.80
TestScriptingMasterSlaveFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestScriptingFunction · 0.64
TestScriptingMasterSlaveFunction · 0.64