Re: [protobuf] How to get all dependency .proto files of a given .proto file hierarchically?

2019-12-01 Thread Marc Gravell
Untested, but can't you just use protoc with the descriptor-set mode to build a FileDescriptorSet (IIRC) which will be the processed output of protoc's efforts? Then parse it using the details from descriptor.proto, and see what descriptors are in the FileDescriptorSet? -- You received this messa

[protobuf] How to get all dependency .proto files of a given .proto file hierarchically?

2019-12-01 Thread Yuri Vic
There is a large directory of .proto files. I only need to pick the ones that can be reached from a particular file in the set. What is the easiest way to build a list of .proto files reachable from a given .proto file? -- You received this message because you are subscribed to the Google Gro