MCPcopy Create free account
hub / github.com/bufbuild/buf / ImageToFileDescriptorProtos

Function ImageToFileDescriptorProtos

private/bufpkg/bufimage/bufimage.go:575–577  ·  view source on GitHub ↗

ImageToFileDescriptorProtos returns the FileDescriptorProtos for the Image.

(image Image)

Source from the content-addressed store, hash-verified

573
574// ImageToFileDescriptorProtos returns the FileDescriptorProtos for the Image.
575func ImageToFileDescriptorProtos(image Image) []*descriptorpb.FileDescriptorProto {
576 return imageFilesToFileDescriptorProtos(image.Files())
577}
578
579// ImageToCodeGeneratorRequest returns a new CodeGeneratorRequest for the Image.
580//

Callers 2

runSourceCodeInfoTestFunction · 0.92
ImageToFileDescriptorSetFunction · 0.85

Calls 2

FilesMethod · 0.65

Tested by 1

runSourceCodeInfoTestFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…