| 261 | } |
| 262 | |
| 263 | bool writeProtoToASCIIFile( |
| 264 | const GProto& proto, const std::string& file_name) { |
| 265 | std::string proto_string; |
| 266 | return google::protobuf::TextFormat::PrintToString(proto, &proto_string) && |
| 267 | writeStringToFile(proto_string, file_name); |
| 268 | } |
| 269 | |
| 270 | void writeProtoToASCIIFileOrDie( |
| 271 | const GProto& proto, const std::string& file_name) { |
no test coverage detected