| 45 | } |
| 46 | |
| 47 | void User::ToMetaTableKeyValue(std::string* packed_key, std::string* packed_value) { |
| 48 | MutexLock locker(&mutex_); |
| 49 | *packed_key = '~' + name_; |
| 50 | user_info_.SerializeToString(packed_value); |
| 51 | } |
| 52 | |
| 53 | bool UserManager::AddUser(const std::string& user_name, const UserInfo& user_info) { |
| 54 | MutexLock locker(&mutex_); |
no outgoing calls
no test coverage detected