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

Method del

lib_acl_cpp/src/session/redis_session.cpp:81–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81bool redis_session::del(const char* name)
82{
83 const char* sid = get_sid();
84 if (sid == NULL || *sid == 0) {
85 return false;
86 }
87
88 command_->clear();
89 return command_->hdel(sid, name) >= 0 ? true : false;
90}
91
92bool redis_session::set_attrs(const std::map<string, session_string>& attrs)
93{

Callers 1

removeMethod · 0.45

Calls 3

hdelMethod · 0.80
get_sidFunction · 0.50
clearMethod · 0.45

Tested by

no test coverage detected