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

Method script_exists

lib_acl_cpp/src/redis/redis_script.cpp:483–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483int redis_script::script_exists(const std::vector<string>& scripts,
484 std::vector<bool>& out)
485{
486 build("SCRIPT", "EXISTS", scripts);
487 int ret = get_status(out);
488 if (ret != (int) scripts.size()) {
489 return -1;
490 }
491 return ret;
492}
493
494int redis_script::script_exists(const std::vector<const char*>& scripts,
495 std::vector<bool>& out)

Callers

nothing calls this directly

Calls 3

buildFunction · 0.50
get_statusFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected