Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeFileDescriptorSets ¶
func MergeFileDescriptorSets(fileDescriptorSets []*descriptor.FileDescriptorSet) (*descriptor.FileDescriptorSet, error)
MergeFileDescriptorSets merges the given FileDescriptorSets, checking that files with the same name have the same content.
func SortFileDescriptorSet ¶
func SortFileDescriptorSet(fileDescriptorSet *descriptor.FileDescriptorSet, fileDescriptorProto *descriptor.FileDescriptorProto) (*descriptor.FileDescriptorSet, error)
SortFileDescriptorSet sorts a FileDescriptorSet for github.com/jhump/protoreflect by returning a new FileDescriptorSet with the given FileDescriptorProto at the end. This also verifies that all FileDescriptorProto names are unique and the name of the FileDescriptorProto is within the FileDescriptorSet.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.