Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/bolt
/ codeAsString
Method
codeAsString
bolt/common/base/Status.cpp:93–98 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
}
92
93
std::string_view Status::codeAsString() const {
94
if (state_ == nullptr) {
95
return
"OK"
;
96
}
97
return ::bytedance::bolt::toString(code());
98
}
99
100
std::string Status::toString() const {
101
std::string result(codeAsString());
Callers
1
TEST
Function · 0.80
Calls
1
toString
Function · 0.70
Tested by
1
TEST
Function · 0.64