Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
37
void User::SetUserInfo(const UserInfo& user_info) {
38
MutexLock locker(&mutex_);
39
user_info_.CopyFrom(user_info);
40
}
41
42
std::string User::GetToken() {
43
MutexLock locker(&mutex_);
Callers
2
AddUserInfoToMetaCallback
Method · 0.80
AddUser
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected