Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/phxrpc
/ SetProtoFile
Method
SetProtoFile
codegen/syntax_tree.cpp:128–130 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
126
}
127
128
void SyntaxTree::SetProtoFile(const char * proto_file) {
129
strncpy(proto_file_, proto_file, sizeof(proto_file_) - 1);
130
}
131
132
const char *SyntaxTree::GetProtoFile() const {
133
return proto_file_;
Callers
1
LoadNormal
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected