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

Method SetUserInfo

src/master/user_manager.cc:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void User::SetUserInfo(const UserInfo& user_info) {
38 MutexLock locker(&mutex_);
39 user_info_.CopyFrom(user_info);
40}
41
42std::string User::GetToken() {
43 MutexLock locker(&mutex_);

Callers 2

AddUserMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected