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

Method get_key

lib_acl_cpp/src/stdlib/token_tree.cpp:24–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24const char* token_node::get_key() const
25{
26 if (me_ == NULL) {
27 return "";
28 }
29 if (dirty_) {
30 acl_token_name(me_, key_.vstring());
31 const_cast<token_node*>(this)->dirty_ = false;
32 }
33 return key_.c_str();
34}
35
36void* token_node::get_ctx() const
37{

Callers 3

diff_changesMethod · 0.45
delMethod · 0.45
delMethod · 0.45

Calls 3

acl_token_nameFunction · 0.85
vstringMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected