| 56 | "\n"; |
| 57 | |
| 58 | Status ReadProtoFile(const string& fname, protobuf::Message* proto) { |
| 59 | if (absl::EndsWith(fname, ".pbtxt")) { |
| 60 | return ReadTextProto(Env::Default(), fname, proto); |
| 61 | } else { |
| 62 | return ReadBinaryProto(Env::Default(), fname, proto); |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | Status Main(const MainFlags& flags) { |
| 67 | // Process config. |
no test coverage detected