| 273 | } |
| 274 | |
| 275 | bool writeProtoToFile( |
| 276 | const GProto& proto, const std::string& file_name) { |
| 277 | std::string proto_string; |
| 278 | return proto.AppendToString(&proto_string) && |
| 279 | writeStringToFile(proto_string, file_name); |
| 280 | } |
| 281 | |
| 282 | void writeProtoToFileOrDie(const GProto& proto, |
| 283 | const std::string& file_name) { |
no test coverage detected