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

Method FileDescriptorProto

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

FileDescriptorProto is the backing *descriptorpb.FileDescriptorProto for this File. This will never be nil. The value Path() is equal to FileDescriptorProto().GetName() .

()

Source from the content-addressed store, hash-verified

164 // This will never be nil.
165 // The value Path() is equal to FileDescriptorProto().GetName() .
166 FileDescriptorProto() *descriptorpb.FileDescriptorProto
167 // IsSyntaxUnspecified will be true if the syntax was not explicitly specified.
168 IsSyntaxUnspecified() bool
169 // UnusedDependencyIndexes returns the indexes of the unused dependencies within

Callers 15

PathMethod · 0.65
newImageFunction · 0.65
orderImageFilesRecFunction · 0.65
TestCloneImageFunction · 0.65
ImageFileWithIsImportFunction · 0.65
CloneImageFileFunction · 0.65
addFileWithImportsFunction · 0.65

Implementers 1

imageFileprivate/bufpkg/bufimage/image_file.go

Calls

no outgoing calls

Tested by 9

TestCloneImageFunction · 0.52
TestMutateInPlaceFunction · 0.52
runFilterImageFunction · 0.52
runSourceCodeInfoTestFunction · 0.52
imageIsDependencyOrderedFunction · 0.52
benchmarkFilterImageFunction · 0.52
TestModifyImageFunction · 0.52
TestModifyImageFileFunction · 0.52