MCPcopy Create free account
hub / github.com/baidu/tera / Update

Method Update

src/access/authorization/authorization.cc:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace auth {
9
10void Authorization::Update(const std::string& role_name) {
11 MutexLock l(&mutex_);
12 roles_.emplace(role_name);
13}
14
15void Authorization::Delete(const std::string& role_name) {
16 MutexLock l(&mutex_);

Callers 2

AddRecordMethod · 0.45
UpdateTsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected