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

Method FileDescriptor

private/bufpkg/bufprotosource/bufprotosource.go:328–328  ·  view source on GitHub ↗

FileDescriptor returns the backing FileDescriptor for this File. Users should prefer to use the core protosource API to read properties of the File as opposed to using the FileDescriptor directly, however we needed to add this to be able to build Resolvers, and did not want to rewrite the whole API

()

Source from the content-addressed store, hash-verified

326 // to using the FileDescriptor directly, however we needed to add this to be able to build
327 // Resolvers, and did not want to rewrite the whole API.
328 FileDescriptor() protodescriptor.FileDescriptor
329}
330
331// FileImport is a file import descriptor.

Callers 4

ignoreFileLocationFunction · 0.65
handleLintProtovalidateFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected