(imageFile bufimage.ImageFile)
| 28 | } |
| 29 | |
| 30 | func imageToProtoFileDescriptor(imageFile bufimage.ImageFile) *descriptorv1.FileDescriptor { |
| 31 | return &descriptorv1.FileDescriptor{ |
| 32 | FileDescriptorProto: imageFile.FileDescriptorProto(), |
| 33 | IsImport: imageFile.IsImport(), |
| 34 | IsSyntaxUnspecified: imageFile.IsSyntaxUnspecified(), |
| 35 | UnusedDependency: imageFile.UnusedDependencyIndexes(), |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | // imageToPathToExternalPath returns a map from path to external path for all ImageFiles in the Image. |
| 40 | // |
nothing calls this directly
no test coverage detected
searching dependent graphs…